Re: Applying templates only to certain part of the tree

Subject: Re: Applying templates only to certain part of the tree
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 May 2000 13:48:33 +0100 (BST)
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


Current Thread