xsl-list
[Top] [All Lists]

Re: accessing CDATA from XSL

2002-12-23 13:07:01
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



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