[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: sort

Subject: RE: sort
From: Hervé Covemaeker <herve.covemaeker@xxxxxxxxxxxxx>
Date: Fri, 1 Feb 2002 17:49:31 +0100
covemaeker
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.