uwalone xsl:param w libxslt-1.1.20?

Paweł Sikora pluto w agmk.net
Pon, 7 Maj 2007, 23:47:33 CEST


On Monday 07 of May 2007 23:08:17 Paweł Sikora wrote:
> $ xsltproc cfg.xsl cfg.xml
> runtime error: file cfg.xsl line 7 element param
> Unexpected XSLT element 'param'.
> no result for cfg.xml
>
> "Definition and Usage
>  The <xsl:param> element is used to declare a local or global parameter.
>  Note: The parameter is global if it's declared as a top-level element,
>  and local if it's declared within a template."
>
> dodam, ze na RH z libxslt-1.1.11 dziala.

hmm, z tego co widze, to:

"xsl:param is only allowed as a top-level element or an *immediate*
 child element of xsl:template."

po zmianie param na variable ruszylo.


Więcej informacji o liście dyskusyjnej pld-devel-pl