[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: summing, ok
Tempore 10:41:24, die 02/13/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Mukul Gandhi
<mukul_gandhi@xxxxxxxxx>:
<xsl:template match="/cars"> <xsl:variable name="modelcount"> <xsl:for-each select="car[generate-id(.) = generate-id(key('by-model',model)[1])]"> 1 </xsl:for-each> </xsl:variable> or <xsl:template match="/cars"> Total no of models - <xsl:value-of select="count(car[generate-id(.) = generate-id(key('by-model',model)[1])])" /> </xsl:template> -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Laudeo W3C et dona ferens
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|