xhtml2fo.xsl is written in XSLT version 1.0, so can be used with nearly any XSLT processor (such as Saxon, Microsoft's, or others).
This stylesheet approximates the formatting expectations of an XHTML document so existing XHTML content can be re-used. HTML content can be easily converted to XHTML using Tidy. Certain elements, such as form inputs, do not translate well, but an effort is made to accomodate any XHTML tag. CSS styles; whether linked, embedded, or attributes; are ignored. To customize the presentation, create a stylesheet with your own templates, and import this one.