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

Antwort: Child Node Attribute

Subject: Antwort: Child Node Attribute
From: manfred.weigel@xxxxxx
Date: Tue, 11 Feb 2003 17:04:05 +0100
child node attribute

Hi!

To get the value of b use this xpath
abc/child/@b

to check if the value is box
abc/child[@b = 'box']

to check if the attribute b exists
abc/child[@b]

Check this documentation - its fantastic
http://selfhtml.teamone.de/xml/darstellung/xpathsyntax.htm
(german)
for other langs have a look at http://www.selfhtml.org

cheers
manfred





neelkamal.shaikh@xxxxxxxxxxxxxx@l... am 11.02.2003
16:41:28

Bitte antworten an xsl-list@xxxxxxxxxxxxxxxxxxxxxx@inet

Gesendet von:     owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx


An:      XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Kopie:
Thema:    Child Node Attribute



Hi ,

I need to get handle of the child nodes attribute i.e. value of "b" = box
in the below xml.

Say
<abc a="apple">
      <child b="box">
      </child>
</abc>

Highly appreciate your help.




 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

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.