解决方法
这是迄今为止我见过的XSL-FO的最佳简要论点:
XSL-FO provides a more sophisticated
visual layout model than HTML+CSS.
Formatting supported by XSL-FO,but
not supported by HTML+CSS,includes
right-to-left and top-to-bottom text,
footnotes,margin notes,page numbers
in cross-references,and more. In
particular,while CSS (Cascading Style
Sheets) is primarily intended for use
on the Web,XSL-FO is designed for
broader use. You should,for instance,
be able to write an XSL style sheet
that uses formatting objects to lay
out an entire printed book. A
different style sheet should be able
to transform the same XML document
into a Web site.
(来源:http://www.cafeconleche.org/books/bible2/chapters/ch18.html)
以下是一些争论XSL-FO是优越的:
虽然这里有人说CSS更好:
> RealObjects: CSS vs. XSL
> Printing XML: why CSS is better than XSL-FO