Subject: RE: 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: 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/>
</node3>
</node1>
Thanks again,
Agnes
Molnár Ágnes
-----------------------
Web: http://aghy.uw.hu
Icq: 167290967
Tel: +36-20-212-8493
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Deep
- Molnar Agnes - Thu, 8 May 2003 06:13:02 -0400 (EDT)
- <Possible follow-ups>
- Cross, Neal - Development Controller - Thu, 8 May 2003 06:30:41 -0400 (EDT) <=
- Jim Fuller - Thu, 8 May 2003 06:37:27 -0400 (EDT)
|
|