This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Determining the level of the XML node?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]