Subject: RE: How to pass arguments to XSL from Java
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Mon, 5 Sep 2005 11:16:43 +0300
|
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
|