tags:

views:

39

answers:

3

Hello all 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

A: 

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.

Obalix
i need html to postscript
A: 

AntennaHouse has a set of stylesheets to convert XHTML to XSL-FO:

http://www.antennahouse.com/XSLsample/XSLsample.htm#HTMLtoFO

Mads Hansen
not working on my xhtml ...
Then adjusting your xhtml would be an option.
Obalix
A: 

Try the Ecrion engine; it should work with HTML (not well formed) and XHTML; in both cases use InputFormat.HTML.

XMLDUDE