|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: parent -child
srikanth,
At 11:14 AM 7/19/01, you wrote: Hi, How do i read the value of the child element and print the value of the parent element You don't actually want the value of the 'b' element, which is '234' (the concatenation of its text node descendants. So try something like <xsl:template match="c[.='3']"> <xsl:value-of select="../text()"/> </xsl:template> which will get you the value of the first text node child of c's parent (b). Cheers, Wendell
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








