E
Eta
Hi all,
I need to transform an XML input file throught Java. Use
javax.xml.transform package to do it.
The XSLT file need a PARAM but I don't know how pass its value to the
Transformer object.
Here the code who make the transformation:
Transformer transformer =factory.newTransformer(new StreamSource
("RUBRICA.xslt"));
transformer.transform(new StreamSource("RUBRICA.xml"),new StreamResult
("RUBRICA.txt"));
Its work fine but how can I pass a param value to the XSLT file??
Thanks in advance,
and sorry for my bad english.
Ciao,
Eta
I need to transform an XML input file throught Java. Use
javax.xml.transform package to do it.
The XSLT file need a PARAM but I don't know how pass its value to the
Transformer object.
Here the code who make the transformation:
Transformer transformer =factory.newTransformer(new StreamSource
("RUBRICA.xslt"));
transformer.transform(new StreamSource("RUBRICA.xml"),new StreamResult
("RUBRICA.txt"));
Its work fine but how can I pass a param value to the XSLT file??
Thanks in advance,
and sorry for my bad english.
Ciao,
Eta