This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: No match or what...
- To: xsl-list at mulberrytech dot com
- Subject: Re: No match or what...
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 4 May 2000 09:19:44 +0100 (BST)
- References: <20000504073340.55553.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
<xsl:template match = "library">
<xsl:value-of select="."/>
the string value of an element node is the character data of _all_ its
descendents, so library book chapter here. You want
<xsl:value-of select="text()"/>
which is the character data of this element, or perhaps
<xsl:value-of select="normalize-space(text()[1])"/>
which is the first block of text, before the first element,
with white space trimmed.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list