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

Subject: Re: [xsl] test expression in predicates - is this one legal???
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 02 Apr 2003 13:42:37 +0200
Stuart Brown wrote:

<xsl:template match="bar[$foobar='number']">
number
</xsl:template>

...


is it legal?

...


This is perfectly legal. The contents of a predicate simply have to be able

C'mon, "It is an error for the value of the match attribute to contain a VariableReference."
http://www.w3.org/TR/xslt.html#section-Defining-Template-Rules
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel



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



Current Thread