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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Return the max value of a, Philip Vallone | Thread | [xsl] Writing stylesheets for Web a, Dan Vint |
Re: [xsl] Return the max value of a, Philip Vallone | Date | Re: [xsl] Diagram of XPath axes, Wendell Piez |
Month |