|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Child Node Attribute
> From: neelkamal.shaikh@xxxxxxxxxxxxxx > [mailto:neelkamal.shaikh@xxxxxxxxxxxxxx] > Sent: Tuesday, February 11, 2003 8:41 AM > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: Child Node Attribute > > 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> Assuming you want the value when the attribute 'a' of <abc> is equal to 'apple': <xsl:value-of select="abc[@a='apple']/child/@b"/> cheers, b. | brian martinez brian.martinez@xxxxxxxx | | senior gui programmer 303.708.7248 | | trip network, inc. fax 303.790.9350 | | 6436 s. racine cir. englewood, co 80111 | | http://www.cheaptickets.com/ http://www.trip.com/ | XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








