- From: Daniel Easton <daniel@acidy.com>
- Date: Thu, 30 Oct 2003 17:45:34 -0000
- To: "Victor Vishnyakov" <tch_@mail.ru>, <www-xsl-fo@w3.org>
Dear all, Apologies again for spamming everyone but I think I have found the problem. It appears that static-content areas do not work if they contain fo:tables. Am rewriting to use fo:block and fo:inline elements as this cures the problem. I'm not really sure if this is a bug in XSLFO or the FOP formatter? If anyone has heard of this before I would still be keen to get to the bottom of the problem completely as it is still a little puzzling :-) 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 3:46 PM Subject: RE: page sequences and static content > Try posting your xsl-fo( xsl file from your first posting mean nothing > without sample xml ) here to see where the problem is. > > Regards, > Victor Vishnyakov > > > > > [ skipped ] > > > > > Is there anything else I'm missing ?? > > > > [ skipped ] > > > > 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 > > > > [ skipped ] > > > > > > > > > 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. > > > > > > [ skipped ] > > >
Received on Thursday, 30 October 2003 12:45:19 UTC