Re: [xslt] scope of global param,version 1.1.15 of libxslt (libxml 2.6.21)
- From: Fabrice Desré - France Telecom R&D/MAPS/AMS <fabrice desre francetelecom com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] scope of global param,version 1.1.15 of libxslt (libxml 2.6.21)
- Date: Thu, 08 Sep 2005 09:03:23 +0200
Stephane Mottelet wrote:
> xsltproc --stringparam lang french simulation.xsl interp.xml
XPath error : Undefined variable
(@lang=$lang) or not(@lang)
^
compilation error: file simulation.xsl line 16 element template
Failed to compile predicate
Seems there is really a problem ?
You can't use variables or params in the match clause of a template !
See the pattern grammar for details (http://www.w3.org/TR/xslt#patterns)
Fabrice
--
Fabrice Desré
France Télécom R&D/MAPS/AMS
Tél: +(33) (0)2 96 05 31 43
Fax: +(33) (0)2 96 05 39 45
http://www.francetelecom.com/rd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]