On Tue, 10 Jun 2003, David Carlisle wrote:
I think you want
<xsl:variable name="cnt"as="xs:integer*> <-- matched quotes??
<xsl:for-each select="$root//*[name() = $nm]">
<xsl:value-of select="count(.//*)"/>
</xsl:for-each>
</xsl:sequence>
rday
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list