xsl-list
[Top] [All Lists]

RE: How to pass arguments to XSL from Java

2005-09-05 01:16:43
Hi,

Is it possible to pass an argument {Of Type String} to XSL 
from Java.{At the
time I configure xsl to be called or anyother time is also fine}
I am configuring the xsl to be called using the following code,

m_transformer = saxTFactory
.newTransformerHandler(new
StreamSource(getClass().getResourceAsStream(deviceType+".xsl")));

m_transformer.getTransformer().setParameter("foo", "bar");

Cheers,

Jarno

--
AMS: Bounce To Da Beat
<Prev in Thread] Current Thread [Next in Thread>