Why do I get the errors
getParser is deprecated and getInputSource is not a class within
XSLTInputHandler?

    public void convertXML2PDF(String xml, String xslt)
                throws IOException, FOPException, TransformerException
        {
                driver.setRenderer(Driver.RENDER_PDF);
                XSLTInputHandler xmlDoc = new XSLTInputHandler(xml,xslt);
                ByteArrayOutputStream pdf = new ByteArrayOutputStream();
                driver.setOutputStream(pdf);
        try
                {
                        driver.render (xmlDoc.getParser(), 
xmlDoc.getInputSource()) ;



Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd

Tel: +44 1282 473554
Fax: +44 1254 267552


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to