| 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/> </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 | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Deep, Vasu Chakkera | Thread | [xsl] Deep, Molnar Agnes | 
| RE: [xsl] Deep, Jim Fuller | Date | Re: [xsl] Name function in XSL, Molnar Agnes | 
| Month |