Tamino und XSL-FO


How can I transform XML using XSL Formatting Objects into PDF with Tamino? Does it work with PassThru Servlet?



To go from XML to PDF you need these processing steps:
(1) You start with XML and use an XSL-T stylesheet to transform the “business markup” to XSL-FO-markup. (2) Then you use the FO-processor to render the FO-markup to PDF.

You see, with step 1 the passthru-servlet can help you, with step 2 you need to invest some sweat. Easiest way may be to write a servlet that does the transformation and starts something like Apache FOP and takes its result and streams it to the user’s browser (if we’re talking web applications).

Best regards, Andreas