Re: [xsl] accessing CDATA from XSL

Subject: Re: [xsl] accessing CDATA from XSL
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 23 Dec 2002 13:07:01 -0700 (MST)
Conal Tuohy wrote:
> <xsl:value-of select="text()"/> will return the text of the 
> parent element, without including the text of the <child> 
> element.

The select identifies the node-set consisting of those text
nodes, yes, but using value-of on a node-set will result in
the use of the string-value of just the first node in the
set.

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

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


Current Thread