Re: [xsl] Max count?

Subject: Re: [xsl] Max count?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 19 Jul 2005 12:25:30 +0100
> In XSLT 2.0 you have the max() function, so you can write:
> 
> <xsl:value-of select="max((for $i in //column return count($i/line)))"/>

or even



<xsl:value-of select="max(//column/count(line))"/>


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread