[Home] [By Thread] [By Date] [Recent Entries]
> so if the context node was 'x' I want to the number of 'y' > sub elements: > > <x> > <z /> > <y /> > <z /> > <y /> > <z /> > </x> > > So want to get the number of 'y' elements which in this case is 2. <xsl:variable name="count-of-y" select="count(y)"/> Michael Kay http://www.saxonica.com/
|

Cart



