[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: number of particular sub elements
John Smith wrote:
<xsl:template name="aName"> <xsl:param name="max" select="particularSubElements.last()" /> .... </xsl:template> count(y) and change the param in your named template to be a variable if you don't mean the caller to set the amount for you: <xsl:variable name="nr-of-y-children" select="count(y)" /> Cheers, -- Abel Braaksma
|
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
|