Is there a tool that creates xsl:fo from xsl so it will be the same output?
Is there any tool that takes xsl file and converting it to the same xsl:fo ? I 开发者_如何学编程have html file that is converted from xsl+xsl and now I like to take the xsl and to create xsl:fo For fop and I really don’t want to write xsl:fo now
You need a transformation something fop understands, and that is xsl:fo only, or to put it differntly fop cannot print HTML.
Look into HTML to PDF conversion that, IMHO, is more suited for your problem.
AntennaHouse has a set of stylesheets to convert XHTML to XSL-FO:
http://www.antennahouse.com/XSLsample/XSLsample.htm#HTMLtoFO
Try the Ecrion engine; it should work with HTML (not well formed) and XHTML; in both cases use InputFormat.HTML.
You can use RenderX Products , which can format XSL/XSL+XML to HTML, PDF, PS ... and so.
Regards, Greg
精彩评论