RE: [xsl] Deep

Subject: RE: [xsl] Deep
From: "Cross, Neal - Development Controller" <ncross@xxxxxxxxx>
Date: Thu, 8 May 2003 11:31:33 +0100
First off I think your XML is malformed as you have no quotes around the attribute values, ie: <node2 deep="2"/>
It is a bit difficult to provide a solution as you have not given me much of an explanation to work from.
I am presuming that you are at a certain nodal level and you want to get the value of deep? If so then just use:-
<xsl:value-of select="@deep"/>

-----Original Message-----
From: Molnar Agnes [mailto:agi@xxxxxxxxxxxxxxxxx]
Sent: 08 May 2003 13:14
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Deep

I hope, this is my last question today :)

How can I know the deep of a node? Example:

<node1 deep=1>
	<node2 deep=2/>
	<node3 deep=2>
		<node4 deep=3/>

Thanks again,

 Molnár Ágnes
 Icq: 167290967
 Tel: +36-20-212-8493

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread