xsl-list
[Top] [All Lists]

[xsl] Top-level Variables and Parameters (XSLT 1.0 spec, section 11.4)

2009-08-19 09:58:04
The XSLT 1.0 spec says in 11.4:

  Both xsl:variable and xsl:param are allowed as top-level elements.
  A top-level variable-binding element declares a global variable
  that is visible everywhere. A top-level xsl:param element declares
  a parameter to the stylesheet; XSLT does not define the mechanism
  by which parameters are passed to the stylesheet. It is an error
  if a stylesheet contains more than one binding of a top-level
  variable with the same name and same import precedence.

  http://www.w3.org/TR/xslt#variables

Does the statement defining an error condition apply to both
xsl:variable and xsl:param or only to xsl:variable?

I'm asking in order to know whether to file bugs against LibXSLT and
Xalan-J with regard to this error condition.

--
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>