Re: [xsl] Selecting only one element using templates

Subject: Re: [xsl] Selecting only one element using templates
From: JCS <subscriber@xxxxxxxxxxxxx>
Date: Tue, 02 Dec 2003 02:14:38 +1300
On 2/12/03 1:46 AM, "Michael Kay" <mhk@xxxxxxxxx> wrote:

> 
> There is a built-in template rule for nodes that are not matched by an
> explicit template rule. This rule does a recursive apply-templates for
> element nodes, and for text nodes it outputs the content. If you want to
> override this, write a rule such as:
> 
> <xsl:template match="*"/>
> 
> Michael Kay
> 

Hi Michael,

Thanks very much for this, it's exactly what I was looking for.

/johnny :)




-- 
Hating somebody is like burning down a house to get rid of a rat.
-- unknown 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread