This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: param in XSL


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]