CSSToXSLFO is a utility which can convert an XML document, together with a CSS2 style sheet, into an XSL-FO document, which can then be converted into PDF, PostScript, etc. with an XSL-FO-processor. It has special support for the XHTML vocabulary, because that is the most obvious language it would be used for. The tool has a number of page-related extensions. It also comes with an API in the form of an XML filter. ·
f you're going to use widths in pixels, do remember that the default
target-resolution for PDF is 72dpi, which may or may not match the
resolution of your image. Recalculating the px-widths into something
more absolute is recommended for predictable results. ·
Need help converting HTML documents to PDF? This reference guide shows by example how to use XSLT templates to convert 45 commonly used HTML elements to formatting objects (from the XSL-FO vocabulary) for easy transformation to PDF using XSLT. ·
Looks very old-fashioned, already checked in 2004, too complex IMHO: FOA is the world's first XSL-FO Authoring tool. It is a Java application that gives users a graphical interface to author XSL-FO stylesheets. With FOA you can generate pages, page sequences and fill them with content provided into one or more XML files. FOA will generate the XSLT stylesheet that transforms the XML content into an XSL-FO document. FOA is compatible with WH2FO so you can author more quickly you documents. From FOA GUI is also possible to invoke an XSLT processor and an XSL-FO renderer, so you can see how the document looks like. ·
Lennart Nacke, Sophie Stellmach, Dennis Sasse, and Craig A. Lindley. Proceedings of the 5th Conference on Communication by Gaze Interaction – COGAIN 2009: Gaze Interaction For Those Who Want It Most, page 49-54. Lyngby, Denmark, The COGAIN Association, The COGAIN Association, (2009)available online.