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: michael gruber <gruberm at msg dot de>
- Date: Thu, 04 May 2000 11:22:03 +0200
- Organization: msg systeme
- References: <20000504073340.55553.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
The content of one node includes that of it's children, therefore when using
<xsl:value-of select="."/>
all children's values are selected too...
1) use <xsl:value-of select="text()"/>
2) or do write just:
<xsl:template match = "library | book | chapter">
<BR/>
<xsl:apply-templates/>
</xsl:template>
this applys default rules and next matching templates are selected.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list