Re: test expression in predicates - is this one legal???2003-04-02 04:42:37Stuart 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
|
|