RE: node-set usage (was Re: Future XSLT expansion.)

Subject: RE: node-set usage (was Re: Future XSLT expansion.)
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 20 Mar 2000 09:48:02 -0000
> <xsl:template match="/">
> 
> which was immediately plunged into infinite regress

I made the suggestion a while back that it should be possible to associate a
predicate with the root node just as with any other, e.g. xsl:template
match="/[invoice]". It wasn't accepted. This means that it's a bad idea to
apply-templates directly to the root of a tree other than the principal
source document, e.g. one obtained from document() or from an RTF variable.
Safer to use apply-templates match="/*".

Mike Kay


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


Current Thread