W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2002

Re: several fo:static-content

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue, 23 Jul 2002 09:31:03 -0400
Message-Id: <5.1.0.14.0.20020723092744.02b4f5e0@pop.storm.ca>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT