RE: my output just contains xsl code

Subject: RE: my output just contains xsl code
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 7 Jun 2000 09:52:30 +0100
> From: sara.mitchell@xxxxxxxxx [mailto:sara.mitchell@xxxxxxxxx]
> You fell foul of one requirement that may seem obvious (but others
> have also missed it including myself): At least one of your templates
> must 'select' a node to apply the template to. 

No this isn't true (not with a conformant XSLT 1.0 processor, anyway). If no
template rule matches a node, the built-in template rule kicks in, and does
an <xsl:apply-templates/> to its child nodes automatically.

But the statement is true, IIRC, for Microsoft IE5 1998 XSL, as this is one
of the many XSLT features it didn't implement.

Mike Kay

 XSL-List info and archive:

Current Thread