|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: sort
yo Fré -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Frederic Leclercq Sent: Saturday, February 02, 2002 1:24 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: sort Hi, I have following XML : <root> <persistentId>4317922674763656975</persistentId> <hyperlink>hyperlink</hyperlink> <description>beschrijving</description> <language>Nederlands</language> <keywords>sleutel</keywords> <fileName>kamerWebsite.doc</fileName> <internalUse>false</internalUse> <hits>0</hits> <subroot> <persistentId>2</persistentId> <state>send</state> </subroot> <person> <persistentId>1</persistentId> <firstName> Administrator</firstName> <lastName> </lastName> <supelogin> <login>administrator</login> <user>true</user> <coordinator>false</coordinator> <supervisor>false</supervisor> <administrator>true</administrator> </supelogin> </person> <storageType>FILE FILE</storageType> <visibleEverywhere>false</visibleEverywhere> </root> that's one "record" - i have 100's of them in the XML string. Following works perfect if i would like to sort on one of the first level tags... <xsl:apply-templates> <xsl:sort select="*[name()=$sortering]" order="{$direction}"/> </xsl:apply-templates> But now i would like to sort the xmlstring on "root.person.supelogin.login" Anybody could help me out ? Thx, Fred. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








