This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Applying templates only to certain part of the tree
- To: xsl-list at mulberrytech dot com
- Subject: Re: Applying templates only to certain part of the tree
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Wed, 17 May 2000 13:48:33 +0100 (BST)
- References: <20000517122856.44529.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
Nuri Besen writes:
> <xsl:template match="/">
> <xsl:apply-templates select="main"/>
> <xsl:apply-templates select="main//TestSec"/>
> </xsl:template>
>
> What is the correct method to exclude a part of the tree?
let it find TestSec, but make them do nothing, with
<xsl:apply-templates match="TestSec"/>
well, thats one answer, anyway.
Sebastian Rahtz
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list