xsl-list
[Top] [All Lists]

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

2012-05-25 08:14:42
   <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

--~------------------------------------------------------------------
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>
--~--


<Prev in Thread] Current Thread [Next in Thread>