Sigh,
Bit complicated, if one just wants to pass a string.
All XSLT engines that have a command line argument allow you to pass parameter values. Similarly all XSLT engine APIs allow you to pass parameters, e.g. JAXP/TrAX has Transformer.setParameter(String name, Object value).
Cheers,
Jarno
> -----Original Message-----
> From: ext Sundar Shanmugasundaram
> [mailto:SSHANMUGASUNDARAM@xxxxxxxxxxxxx]
> Sent: 14 May, 2003 09:23
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: Passing inputs to an XSLT
>
>
> You can do one thing:
>
> Create a servlet which will return xml reponse.
> Take the xml response in xsl and use the response xml as an arg to the
> template.
> Meaning you could pass name value pair to servlet and then you
> could use the resulting xml reponse inside xsl as an argument.
>
> Hope this solves your problem.
>
> sundar
>
> -----Original Message-----
> From: Karthickraj N - CTD, Chennai.
> [mailto:karthickrajn@xxxxxxxxxxxxxxx]
> Sent: Wednesday, May 14, 2003 11:56 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: Passing inputs to an XSLT
>
>
> Is there any concept like passing command line arguments in XSLT
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|