Subject: XPATH : How to get the level of a node (depth) ?
From: Eric RUBINAT <eric.rubinat@xxxxxxx>
Date: Mon, 14 Feb 2000 12:10:04 +0100
|
Question of a new XSL/XPATH user...
How can i get the depth of a node...?
Sample :
<DOCUMENT>
<HEADER>
<LINE> toto </LINE>
<LINE> titi </LINE>
</HEADER>
<BODY>
<LINE> the body text here </LINE>
</BODY>
</DOCUMENT>
And i want somethink like
DOCUMENT : 1
HEADER : 2
LINE : 3
LINE : 3
BODY : 2
LINE : 3
Thanks..!!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|