xsl-list
[Top] [All Lists]

Re: Selecting only one element using templates

2003-12-01 06:14:38
On 2/12/03 1:46 AM, "Michael Kay" <mhk(_at_)mhk(_dot_)me(_dot_)uk> 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