This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: my output just contains xsl code


> From: sara.mitchell@ps.ge.com [mailto:sara.mitchell@ps.ge.com]
> 
> 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:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]