|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to sort Using Dom and SelectNodes
Hello,
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:
<xml>
<FLD order="3">run</FLD>
<FLD order="1">See</FLD>
<FLD>foo</FLD>
<FLD order="2">spot</FLD>
<FLD>bar</FLD>
</xml>
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?
Karl
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








