Download presentation
Presentation is loading. Please wait.
1
Expanding towards multichannel publishing.xml.xsl.html.pdf
2
Generating the Pages pages. One of the problems is that, unlike the production of an HTML document from an XML source using XSLT, the processing of the children of the root elements is not a simple xsl:apply-templates from within a root element. Much more initial output is required in order to enable the formatter to generate the pages. Let's look at the processing necessary to get from your XML document to a PDF printable document. First, the XML must be fed to an XSLT processor with an appropriate stylesheet in order to produce another XML document which uses the XSL-FO namespace and is intended for an XSL-FO formatter. The second stage is to feed the output of the first stage to the XSL-FO formatter, which can then produce the end product: a printable document, styled for visual presentation.
3
Generating Process XML document XSLT Engine XSLT Style sheet XS-FO Document XS-FO Formatter Printable document
4
products.xml Disket 1.50 Cleaner 2.50 Paper 3.50 Pen 9.50 Balm 2.20 Mouse 2.10 Flower 6.50 Phone 8.50 Shoe 1.30 Hat 1.10
5
products.xsl Page layout <fo:simple-page-master master-name="first" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="1.5cm" margin-right="1.5cm">
6
products.xsl page sequence These products are in the shop. Some other goods are available within two days delivery... ** Product name **
7
Products.xsl table elements
8
XSL-FO Document temp.fo These products are in the shop. Some other goods are available within two days delivery time - please ask the boss Kake to get the list ordered goods. ** Product name ** Disket Cleaner <fo:table-row line- …...
9
PDF Document products.pdf
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.