- From: TotLanT <Totlant@lintec.minsk.by>
- Date: Thu, 25 Mar 2004 17:50:06 +0200
- To: www-xsl-fo@w3.org
Hi, Everyone, in this code
------------------------------------------------------------
XSLTInputHandler input =
new XSLTInputHandler(new File("1.xml"),new
File("2.xsl"));
ByteArrayOutputStream out = new ByteArrayOutputStream();
...
Driver driver = new Driver();
driver.setLogger(log);
driver.setRenderer(Driver.RENDER_PDF);
driver.setOutputStream(out);
driver.render(input.getParser(),input.getInputSource());
-------------------------------------------------------------
How to avoid this 2 deprecated methods: input.getParser() and input.getInputSource()
--
best regards
TotLanT mailto:Totlant@lintec.minsk.by
Received on Thursday, 25 March 2004 10:55:38 UTC