This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Finding node having maximum value for an attribute
- From: Bagchi Ratul <bratul at baan dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 31 May 2002 10:23:44 +0200
- Subject: [xsl] Finding node having maximum value for an attribute
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
I have a XML which has the following structure :
<Archives>
<Archive ID="1">
<somenode>somevalue</somenode>
<someothernode>someothervalue</someothernode>
</Archive>
<Archive ID="2">
<somenode>somevalue</somenode>
<someothernode>someothervalue</someothernode>
</Archive>
</Archives>
Now my question is, is it possible to wite a XPath query which will return
me the highest ID attribute if Archive node in the whole file???
Regards,
Ratul.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list