This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: node-set usage (was Re: Future XSLT expansion.)
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: node-set usage (was Re: Future XSLT expansion.)
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 20 Mar 2000 09:48:02 -0000
- Reply-To: xsl-list at mulberrytech dot com
> <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