xsl-list
[Top] [All Lists]

RE: Passing inputs to an XSLT

2003-05-13 23:51:53
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(_at_)selectica(_dot_)com]
Sent: 14 May, 2003 09:23
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] 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(_at_)ctd(_dot_)hcltech(_dot_)com]
Sent: Wednesday, May 14, 2003 11:56 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>