[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member