Abdel,
you need use the <xsl:param> instruction. Parameters are passed to 
Sablotron in the call of RunProcessor function.

Do the following:

add

<xsl:param name="foo" select="your defaul value"/>

as the topmost element (in stylesheet).

in Perl:

sab = new XML::Sablotron();
sab.RunProcessor($templ_uri, $data_uri, $result_uri, ["foo", "passed 
value"], [$template, $uri]);


Abdel BOURTAL wrote:

> Hi All,
> 
> I 'am using a Variable in my XSL with  <xsl:variable >,  can I pass a value to
> my variable from a Script  Perl ?.
> 
> If it is not possible, how can I do ?
> 

-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to