I have witten a Servlet that take two file in input (file.xml and file.xsl)
my code is:

         Driver driver = new Driver();
         File xmlFile = new File("c:\\xml_to_pdf.xml");        
         File xslFile = new File("c:\\TransformPDF.xsl");           
         InputHandler inputHandler = new 
         XMLReader parser=createParser();
         driver.setOutputStream(new FileOutputStream("outFile.pdf"));
         driver.render(parser, inputHandler.getInputSource());
and my servlet have a block inside Method render( )
The parser is instantiated correctly I think that there is a problem
in the way that i pass the Files!!  TOMCAT REPLY ME:

building formatting object tree
setting up fonts
WARNING: Unknown formatting object ^val

____________ and then an error inside driven.render()

my xml is very simple like this:
<?xml version="1.0" encoding="UTF-8"?>
<title>Prova di PDF</title>
<paragraph number="1">
<line>Questa e' una prova di creazione di PDF utilizzando i tag 

WHY the transform don't know my root element!!!!!!!!!!!!!!!!!!!!!!!!!

Please can somebody help me??????

Tanks a lot!!!!


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

Reply via email to