I'm not sure what you are asking but I think you ought to investigate Cocoon.
Cocoon is a general purpose web application (ie servlet :-) which uses Apache XML and XSL technology including FOP to generate html or PDF on demand from XML source.
At 11:31 10/05/2002, Balaji Loganathan wrote:
Hi, I tried FopServlet example and its works fine for PDF. Is it possible to do the same for HTML that is http://servername/servlet/FopServlet?xml=data.xml&xsl=format.xsl&dummy=test.html ,I tried to change the code of FopServlet like ...... response.setContentType("text/html");
Driver driver = new Driver(foFile, out); driver.setLogger(log); driver.setRenderer(Driver.RENDER_TXT); ... But I'm getting unknown formaating object HTML as error. Have any one tried it? Basically I want to convert XML to PDF or HTML using servlets.Do I have to write my own code,or is there out something. Please comments.
http://messenger.yahoo.com.au - Yahoo! Messenger - A great way to communicate long-distance for FREE!
Openweb Analysts Ltd, London: Software For Complex Websites http://www.OWAL.co.uk/
Free Consultancy for London Companies thinking of Open Source Software.