Maneshi,
To get the Javadoc, download the source dist from the website. This should
also include some example files for you to look at.
JT
-----Original Message-----
From: Maneshi Tuli [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 11, 2001 7:15 AM
To: [EMAIL PROTECTED]
Subject: some help in generating from fo to pdf
hi ,
I am very new to this area,
i want to generate pdf from xml
i have generated fo from xml and xsl,
but in next step , while generating pdf from fo it is giving problem
this is my code
File xmlFile = new File("c:\\fop\\eg\\abc.xml");
File xslFile = new File("c:\\fop\\eg\\abc.xsl");
File outFile = new File("c:\\fop\\eg\\abc.pdf");
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
XMLReader parser = inputHandler.getParser();
driver.buildFOTree(parser, inputHandler);
driver.format();
driver.setOutputStream(new FileOutputStream(outFile));
driver.render();
it says buildFOTree method not found ,
plz anybody can tell me from where i can get api of fo .
and what is the worng with this code.
ur help will be apperciable.
thanks
--
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
--
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]