Re: No match or what...

Subject: Re: No match or what...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 4 May 2000 09:19:44 +0100 (BST)

<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


Current Thread