At 2004-07-21 10:09 +0200, Buehl, Reiner wrote:
I have a set of XSL style sheets that use HTML markup to create HTML
pages. Now I would like to add PDF output capabilities. This requires
a rewrite of the style sheets in XSL-FO since I will use Apache Cocoon
and fo2pdf. Is there an easy way to convert the (simple) HTML code into
XSL-FO? A converter or search-and-replace tool?
If you use a tool like Tidy to go to XHTML, then you can get XSL-FO using
the html2fo.xsl stylesheet from Antenna House.
http://tidy.sourceforge.net/
http://www.antennahouse.com/XSLsample/XSLsample.htm#xhtml2fo
I hope this helps.
......................... Ken
--
Public training 3 days XSLT & 2 days XSL-FO: Phoenix,AZ 2004-08-23
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal