xsl-list
[Top] [All Lists]

RE: Antwort: Child Node Attribute

2003-02-11 10:13:06

Nice, to be sure, but I'll still take zvon.org.

http://www.zvon.org/xxl/XSLTreference/Output/index.html

Works with non ie-browsers.

My .022 euros.

Mike

------------------------------
So be it, Jedi.
www.nedyah.org 



-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Michael Johnson
Sent: Tuesday, February 11, 2003 11:32 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: Antwort: [xsl] Child Node Attribute


My favourite documentation is on msdn (eek)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/ht
m/xmrefxsltreference.asp





----- Original Message -----
From: <manfred(_dot_)weigel(_at_)rzb(_dot_)at>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, February 11, 2003 4:04 PM
Subject: Antwort: [xsl] 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[(_at_)b = 'box']

to check if the attribute b exists
abc/child[(_at_)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(_dot_)shaikh(_at_)prudential(_dot_)com@lists.mulberrytech.com am 
11.02.2003 
16:41:28

Bitte antworten an xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com@inet

Gesendet von:     owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


An:      XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Kopie:
Thema:   [xsl] 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





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>