[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    Re: [xsl] Return the max value of a set of nodes using FLWR
From:       Andrew Welch <andrew.j.welch () gmail ! com>
Date:       2012-05-25 13:14:30
Message-ID: CAEG2duDu9xAt76UYfGoVma=RGBSgFt3b4UE3+bHj7ONW=XAodw () mail ! gmail ! com
[Download RAW message or body]

>    <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@lists.mulberrytech.com>
--~--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic