Unfortunately I don't have a working XHTML to FO conversion, rather some 
experience to share: we wrote such a transformation for a customer project 
(too specific to share I'm afraid), and in retrospect I think the following 
structure would have been much more reusable and maintainable:

  XHTML -> logical document -> FO

using two XSLT transforms.

By "logical document" I mean going back to your document structure, 
extracting the "meat" from the input document. Then only in the second 
transform would you apply presentation to it.

This is much easier to test and debug than a single-pass transform IMHO, and 
converting to logical structure is much more reusable if you need to generate 
other formats or different presentations later on.

My 2 cents..
-Bertrand

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to