You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ross Burton <ro...@mail.com> on 2000/04/01 11:05:41 UTC

Re: XSL Formatters

> This way only pdf formatter is working fine. That generates the final
format
> as per the pdf document std by converting formatting tags to appropriate
pdf
> commands.

The formatter is only responsible for transforming a XML tree into an output
document - it makes the assumption that the tree is in the correct markup
already.  The PDF formatter works on a XSL:FO tree, but the HTML formatter
required valid XHTML input.  It's more efficient this way: if you are
outputting HTML why bother going through FO first?  It's another transform
stage to slow the system down.

Actually, a decent Text Formatter which worked with FO (or maybe another
simplier DTD) and outputed indented text could be handy.

Ross Burton