xsl-list
[Top] [All Lists]

RE: [xsl] variable in xsl:template match

2007-04-26 07:55:34
Variables are not allowed to be used in the match attribute 
of a template.

  Ref. XSLT 1.0 section 5.3:

   It is an error for the value of the match attribute to contain
   a VariableReference.


But this rule is lifted in XSLT 2.0.

I believe also that there are some XSLT 1.0 processors that fail to enforce
the rule.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--