xsl-list
[Top] [All Lists]

[xsl] static header in fo:region-before

2009-03-14 19:26:09
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>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>