Hi, In E37 (http://www.w3.org/1999/11/REC-xslt-19991116-errata/), Section 11.5; a sentence was changed to: "In this case, the binding is visible for the descendants of all following siblings that are not xsl:fallback instructions". This means that a local variable is not visible to its siblings, but only the descendants of those siblings. Since I cannot think of an XSLT 1.0 processor which rejects the following example, I wonder if this is a bug in the errata. <xsl:template match="foo"> <xsl:varible name="bar" select="'bar'"/> <!-- According to the modified definition the following should raise an error, since $bar is not visible to the xsl:value-of sibling of xsl:variable. --> <xsl:value-of select="$bar"/> </xsl:template> Regards, KasimierReceived on Friday, 23 June 2006 13:44:13 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 August 2007 00:11:46 GMT