max(/answers/option/@p)
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Steve [mailto:subsume(_at_)gmail(_dot_)com]
Sent: 28 September 2007 18:21
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Attribute of greatest value from a node set
<answers>
<option p="1">Daily</option>
<option p="2">Weekly</option>
<option p="3">Monthly</option>
<option p="4">Seldom</option>
<option p="5">Never</option>
</answers>
desired output:
5
There's a million ways to skin this cat. What would be yours?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--