This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: Determining the level of the XML node?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE: Determining the level of the XML node?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 19 Jan 2001 12:10:01 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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