Subject: [xsl] Top-level Variables and Parameters (XSLT 1.0 spec, section 11.4) From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Wed, 19 Aug 2009 15:57:30 +0200 |
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.
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Convert SGML to XML using, Syd Bauman | Thread | RE: [xsl] Top-level Variables and P, Michael Kay |
Re: [xsl] Convert SGML to XML using, Syd Bauman | Date | RE: [xsl] Top-level Variables and P, Michael Kay |
Month |