Re: param in XSL

Subject: Re: param in XSL
From: Sukumar Munshi <ep@xxxxxxxxx>
Date: Wed, 12 Jul 2000 21:17:58 +0100
Hi Jo,

it depends on the processor you use, examples here xt, saxon:

  xt   input.xml  stylesheet.xsl  output.xml  firstparam=paramone
  saxon -o output.xml  input.xml stylesheet.xsl  firstparam=paramone

Declare the parameter as a global parameter (toplevel) in the Stylesheet:

  <xsl:param name="firstparam" select="defaultvalue"/>

Best regards,

Sukumar
Jo Kong HO schrieb:

> hi all
>
> I am looking into passing parameters into a XSL file. Has anyone experience
> of it?
>
> cheers
> j
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread