[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] static header in fo:region-before


Subject: [xsl] static header in fo:region-before
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Sat, 14 Mar 2009 16:25:44 -0700

None of the XSL-FO reference material I had at hand treated the problem of vertical alignment of static content in the region-before (except to say that I could not control the edges parallel to the edge of the paper) , so by Easter egging the properties, I hacked a solution for keeping the header content down a bit from the upper edge of the region-before. I found that the whitespace-collapse ="false" property had no effect (or I misunderstood its use), so I used a hard blank.

Anyway, two questions.

(1) This has to be a common problem. Is there a better solution that I just could not find?
(2) is there an XSL-FO cookbook similar to the O'Reilly XSLT Cookbook that treats XSL-FO problems? Or a website?


Thanks,
Mark

<fo:static-content flow-name="odd-header">
<fo:block space-after.conditionality="retain" space-after="0.25">&#160;</fo:block>
<fo:block text-align="center">The Czechoslovak Specialist</fo:block>
</fo:static-content>


<fo:static-content flow-name="even-header">
<fo:block space-after.conditionality="retain" space-after="0.25">&#160;</fo:block>
<fo:block text-align="center">21st Century Index</fo:block>
</fo:static-content>



Current Thread
Keywords