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

RE: page sequences and static content

From: Victor Vishnyakov <tch_@mail.ru>
Date: Thu, 30 Oct 2003 15:08:29 +0200
To: <www-xsl-fo@w3.org>
Message-ID: <001001c39ee6$ebc615c0$2500a8c0@ISLC.local>

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 08:05:55 GMT

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