cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: xhtml2fo.xsl anyone
Date Mon, 15 Jul 2002 10:54:35 GMT
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..

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message