RE: [xsl] test expression in predicates - is this one legal???

Subject: RE: [xsl] test expression in predicates - is this one legal???
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 2 Apr 2003 17:35:37 +0100
> <xsl:template match="bar[$foobar='number']">

It's not legal in XSLT 1.0 to use a variable reference in a template
match pattern, but some processors relax this restriction. It's legal in
XSLT 2.0.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread