Re: several fo:static-content

At 2002-07-23 08:20 -0400, Jan Kirmse wrote:
>i have one xml file which contains several company nodes
>
><company1>
>  ...
>  ...
></company1>
><company2>
>  ...
>  ...
></company2>
><company3>
>  ...
>  ...
></company3>
>etc.
>
>each <company> contains a logo and other TAGs
>
>in my xsl file i like to have these static-contents dependent on the company
>or the logo
>which are defined in the xml file.
>if its possible to solve this problem with several page-sequences i like to
>test it.
>
>my pdf file should have the following design.
>
>page1 (company1)
>page2 (company1)
>page3 (company1)
>page4 (company2)
>page4 (company2)
>page5 (company2)
>
>and so on, for several companies, but only one pdf file.

Then create a page sequence for each company in the one XSL-FO 
instance.  There is no limit on the number of page sequences in an XSL-FO 
instance ... they are all children of the document element.

In each page sequence define the particular static content for the skin for 
that company appearance.

Each page sequence will begin a new company on a new page, and that 
sequence's static content will be used on all pages generated by the amount 
of flow you have for that sequence.

I hope this helps.

......................... Ken

--
Upcoming hands-on in-depth 3-days XSLT/XPath and/or 2-days XSL-FO:
                                 North America:  Sep 30-Oct  4,2002
                                 Japan:          Oct  7-Oct 11,2002

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:           2002-08-05,26,27,09-30,10-03,07,10

Received on Tuesday, 23 July 2002 09:31:27 UTC