[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Deep

Subject: RE: Deep
From: "Cross, Neal - Development Controller" <ncross@xxxxxxxxx>
Date: Thu, 8 May 2003 11:31:33 +0100
RE:  Deep
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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.