|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Node with maximum attribute value
I have fairly flat
XML Structure:
<closing-price
date="8/5/1998" mid="203.12" />
<closing-price date="11/5/1998" mid="198.75" /> <closing-price date="12/5/1998" mid="187.5" /> <closing-price date="13/5/1998" mid="194.37" /> and I want to find
the maximum mid attribute from the node-set.
My first idea was
to use a sorted for-each, and assign a variable to the maximum value, however
variables cannot be reassigned. Is there another way?
Thanks,
Richard
|
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








