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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Fawad HalimSubject: Attributes order
Author: Fawad Halim
Date: 28 Jun 2005 04:10 PM
Can someone explain to me what order stylus uses for ordering attributes? It doesn't add them in the order we add them, nor does it use the order in the destination schema. We have several applications that require attributes in a particular order and reordering the attributes by hand is quite tedious.

(Deleted User) Subject: Attributes order
Author: (Deleted User)
Date: 29 Jun 2005 10:48 AM
are you refering the xsl:attribute order generated by xslt mapper?

yes, we see the problem you are experiencing in xslt mapper which insert xsl:attribute in the wrong order in one particular case. we will fix the problem in the next public update.

in the meanwhile, there is an easy workaround to solve the problem and you don't have to manually order the attributes. you can create the link on the last attribute or any element first, after that, all the attributes you added will follow the order in target schema.

hope this helps.


Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
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!  

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.