Subject: RE: Attribute of greatest value from a node set
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 28 Sep 2007 21:17:28 +0100
|
max(/answers/option/@p)
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Steve [mailto:subsume@xxxxxxxxx]
> Sent: 28 September 2007 18:21
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: 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?
| Current Thread |
|
Michael Kay - 28 Sep 2007 20:17:56 -0000 <=
|
|