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: node-set usage (was Re: Future XSLT expansion.)


> <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

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