Michael Kay schrieb:
Does the statement defining an error condition apply to both
xsl:variable and xsl:param or only to xsl:variable?
It's intended to apply to both. I agree it could be clearer.
Thanks.
The rule in 2.0 is:
[ERR XTSE0630] It is a static error if a stylesheet contains more than
one binding of a global variable with the same name and same import
precedence, unless it also contains another binding with the same name
and higher import precedence.
which relates to the definitions earlier:
[Definition: A top-level variable-binding element declares a *global
variable* that is visible everywhere (except where it is shadowed by
another binding).]
[Definition: The two elements xsl:variable and xsl:param are referred
to as *variable-binding elements* ].
That's definitely clearer than in 1.0.
--
Michael Ludwig
--~------------------------------------------------------------------
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>
--~--