W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2004

[www-xsl-fo] <none>

From: TotLanT <Totlant@lintec.minsk.by>
Date: Thu, 25 Mar 2004 17:50:06 +0200
Message-ID: <17121196528.20040325175006@lintec.minsk.by>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:12 GMT