Quote:
quote:Originally posted by mhkay
First convert your HTML files to XHTML using the JTidy utility from W3C. Then convert the XHTML to XSL-FO using XSLT. I would think that someone must have already written stylesheets to do this, but I'm not aware of any. Try asking on the xsl-list at www.mulberrytech.com if google doesn't show anything up. Then convert the XSL-FO to PDF using an XSL-FO processor. There is a free one, FOP, and several commercial products, and although I haven't used them myself the impression I get from users is that it's worth paying the money.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
So that means as step by step
1) XHTML conversion via JTidy
2) XHTML to XSL-FO conversion via XSLT
3) and then convert it to PDF via FOP
Do I need to use Xerces and Xalan for the transformation?
Another question. I don't know if you are using Altova's XMLSpy. It has also an XML-FO tool but the company where I have been working by, has no licence for this feature of XMLSpy. Is it worth to use it?
Your attitude determines your altitude