This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Determining the level of the XML node?
- To: "XSL-List" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE: Determining the level of the XML node?
- From: "David M. Goudreau" <david_goudreau at crosscommerce dot com>
- Date: Thu, 18 Jan 2001 11:43:10 -0800
- 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.
-dmg
> Does anyone know how to determine what "level" the current
> node is at in the XML using XSL?
count(ancestor::node())
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list