xsl-list
[Top] [All Lists]

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

2003-04-02 09:35:37
<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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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