Re: [xsl] Return the max value of a set of nodes using FLWR

Subject: Re: [xsl] Return the max value of a set of nodes using FLWR
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 25 May 2012 14:14:30 +0100
>    <xsl:sequence select="for $s in /data/set return max($s/changenumber)"/>

For what it's worth, that's the same as:

select="/data/set/max(changenumber)"

...which is a bit nicer when you are used the slash operator.


--
Andrew Welch
http://andrewjwelch.com

Current Thread