I had done a similar search before and came across this page. However, I haven't tried his implementation yet.
http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html http://www.antennahouse.com/XSLsample/XSLsample.htm http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl --- Si Chen <[EMAIL PROTECTED]> wrote: > Hi. > > Does anybody know of an open source html to xsl:fo > transformation > (via xslt) possibly? > > This is what I'd like to do: be able to have a tag > like <html-xslfo> > which can be used like this > > <platform-specific><html-xslfo> > <html-template > > location="component://mycomponent/webapp/mywebapp/myPage.ftl"/></html> > > </platform-specific> > > and then the contents of a myPage.ftl to xsl:fo and > output as PDF. > > Best Regards, > > Si > [EMAIL PROTECTED] > > > >
