RE: [xsl] RE: Determining the level of the XML node?

Subject: RE: [xsl] RE: Determining the level of the XML node?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 19 Jan 2001 12:10:01 -0000
> What xsl tag should "count(ancestor::node())" go in to print it out?
> <xsl:number>?  I'm using Xerces & Xalan.  Thanks in advance.

<xsl:value-of select="count(ancestor::node())"/>

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread