W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2003

Re: page sequences and static content

From: Daniel Easton <daniel@acidy.com>
Date: Thu, 30 Oct 2003 15:31:59 -0000
Message-ID: <071c01c39efa$f5e0d130$a100a8c0@dan>
To: "Victor Vishnyakov" <tch_@mail.ru>, <www-xsl-fo@w3.org>

Hi Victor,

Many thanks for you swift reply, I've added the region-names to the relevant
places but still no joy.

Is there anything else I'm missing ??

Many Thanks

Daniel Easton

----- Original Message ----- 
From: "Victor Vishnyakov" <tch_@mail.ru>
To: "'Daniel Easton'" <daniel@acidy.com>; <www-xsl-fo@w3.org>
Sent: Thursday, October 30, 2003 12:48 PM
Subject: RE: page sequences and static content


> Your region-before and region-after is unnamed, thus formatter cant
> associate static-content to its region.
>
> Try the following:
>
> <fo:region-before display-align="after" region-name="xsl-region-before">
> ..
> <fo:region-after display-align="before"  region-name="xsl-region-after">
>
> See spec 7.25.17 "region-name" and 7.25.5 "flow-name" for details
>
> Regards,
> Victor Vishnyakov
>
>
> > -----Original Message-----
> > From: www-xsl-fo-request@w3.org
> > [mailto:www-xsl-fo-request@w3.org] On Behalf Of Daniel Easton
> > Sent: Thursday, October 30, 2003 2:24 PM
> > To: www-xsl-fo@w3.org
> > Subject: page sequences and static content
> >
> >
> > Dear all,
> >
> > Not sure if this is the correct list to write to (if it is
> > incorrect please accept my apologies) but am having some
> > difficulty with an XSL FO document.
> >
> > Briefly my current set up involves formatting my initial data
> > into my own ML and then transforming into the fo namespace so
> > I can transform to a pdf using FOP.  My problem specifically
> > is that I am generating header and footer content (in the
> > static-content tags) from the intermediary ML which is only
> > showing on the first page.
> >
> > I have narrowed this problem down to 2 possible causes:
> >
> > 1) fo:static-content is only able to handle simple content
> > hardcoded in the xsl and not dynamically generated content
> > from my ML language(which was not my understanding of the xsl
> > specification - I thought static-content referred to content
> > which appears on every page)
> >
> > 2) I am not correctly defining the page sequence and page
> > templates correctly.
> >
> > My code is attached.
> >
> > Any suggestins of how to solve this problem or of a relevant
> > developers forum would be greatly appreciated
> >
> > Many Thanks
> >
> > Daniel Easton
> > Anondesign Ltd
> > Cambridge
> >
> > PS The XSL may be a little ragged as this is my first attempt
> > at writing a XSLT/XSLFO stylesheet.
> >
>
>
>
Received on Thursday, 30 October 2003 10:31:45 GMT

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