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

How to sort Using Dom and SelectNodes

Subject: How to sort Using Dom and SelectNodes
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Wed, 4 Jun 2003 11:40:50 -0700
selectnodes sort

I have a simple selectnodes method which grabs nodes from a nodes list who
have the attribute ORDER.  I'd actually like to select and then order the
result based on the value of the ORDER attribute.  So:

    <FLD order="3">run</FLD>
    <FLD order="1">See</FLD>
    <FLD order="2">spot</FLD>

Would yield the result fragment (tree?):
    <FLD order="1">See</FLD>
    <FLD order="2">spot</FLD>
    <FLD order="3">run</FLD>

How can I achieve this?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.