RE: [xsl] why doesn't 'self::NODE' work?

Subject: RE: [xsl] why doesn't 'self::NODE' work?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 15 Apr 2003 08:47:12 +0100
> 
> As far as I understand, <xsl:value-of
> select="foo-element"/> will not have a predictable (or
> usable) result if foo-element has children. 

The result is entirely predictable, and there are plenty of situations
where it is also usable. For example, given:

<para>I <i>think</i> I saw a <b>butterfly</b></para>

then <xsl:value-of select="para"/> will return "I think I saw a
butterfly".

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 



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


Current Thread