xsl-list
[Top] [All Lists]

RE: why doesn't 'self::NODE' work?

2003-04-15 00:47:12

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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



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