This project is read-only.

how to convert HTML to XSL-FO

Aug 5, 2011 at 7:46 AM

hello guys, now m understanding a little bit how FO.NET works, but now my problem is how could i convert HTML to XSL-FO, so that i could create the PDF from it.

is FO.NET provide the facility to convert html to XSL-FO if not than how could i proceed.


Thanks and Regards

Inderjeet Singh

Aug 5, 2011 at 9:40 AM


This is outside the scope of FO.NET. FO.NET covers rendering XSL-FO to PDF only.

There certainly used to be a few XSLT stylesheets out there that convered HTML to XSL-FO. However I remember that the quality of the conversion was a bit hit/miss. This will be made worse since since HTML has ontinued to evolve over the years and interpretation of CSS will be so critical to correct rendering.

Overall, I think that convering HTML to XSL-FO may be a difficult task, but you never know!


Aug 5, 2011 at 11:02 AM

thanks griffm, thanks a lot, can you suggest me a better way to full fill my requirement.



Inderjeet Singh

Aug 5, 2011 at 11:14 AM

No idea. I suggest googling. Good luck!

Aug 5, 2011 at 11:45 AM

thanks griffm, for such a wonderful library..