XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
- Stylus Studio Feature Requests (1192)
-> - Proposal to Add Git Support to... (1)
-> + XML formatter option request (3)
-> - Could Pipeline input scenario ... (1)
-> + XML Traversal in XSLT Mapper (2)
-> + Email not in HTML as expected (3)
-> + My SS Open [tools]==>.[option... (3)
-> + Fonts in Stylus Studio (2)
-> - Fix the check for concurrent s... (1)
-> + Stylus is showing the error fo... (2)
-> - XML editor (1)
-> + Unable to see filename in sche... (2)
-> + Unable to connect to JVM (2)
-> - Stylus Studio forum questions (1)
-> + User Interface - X16 Enterpris... (2)
-> + Stylus Studio High DPI support (2)
-> + target xsd includes and import... (2)
-> + XML/EDIFACT Schema (3)
-> + Options to control whether BOM... (2)
-> + Snippets and/or Emmet integrat... (2)
-> + internal error accessing metho... (2)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Kurt WaldSubject: graphical representation for variables
Author: Kurt Wald
Date: 24 Mar 2007 06:10 PM
A graphical representation of variables on the mapper canvas would be helpful. This certainly doesn't fit well into the current source to target concept. Perhaps a variable could be inserted as a special node type into the target document tree to specify where it's definition should be placed positionally. The graphical representation could then provide a second target connector to assign the content of the variable to an element of the result document.

Postnext
(Deleted User) Subject: graphical representation for variables
Author: (Deleted User)
Date: 26 Mar 2007 10:18 AM
Hi Kurt,
can you elaborate on the subject?
- are you talking about XSLT or XQuery mapper?
- do you need to model global/external variables, template variables or temporary variables like inside a for-each or a FLWOR statement?
- can you draw a fake screenshot to better represent how the connection should be drawn?

Thanks for your suggestions,
Alberto

Postnext
Kurt WaldSubject: graphical representation for variables
Author: Kurt Wald
Date: 26 Mar 2007 03:10 PM
Hi Alberto,

1. I am talking about the XSLT mapper
2. I am talking about pull processing with a single template match="/"
3. I am talking about global as well as local variables with any scope

So graphically it appears to me to be the main problem, where to place the variable to get the desired scope/location for it's definition and how to link it to loop and other constructs. For the simple definition and placement (without loop linkage) see attached jpg.


Unknownvar.jpg

Posttop
(Deleted User) Subject: graphical representation for variables
Author: (Deleted User)
Date: 27 Mar 2007 08:48 AM
Hi Kurt,
thank you for your suggestions; I think we can implement something along these lines, even if I am not too fond of the 'myVariable' node in the target tree (after all, a variable is not always placed in the output, but it's used to help other instructions).
I'll add this request to the "wish list" for the next major release of Stylus.

Thanks,
Alberto

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.