|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Page-break/Static content
Hi all,
I would like to create a stylesheet for a bill: On the first page there
should be only the name of the receiver, some text and other things. On the
second and the following pages there should be some static-content in the
region-before field (e.g. page-number ...) and then finally in the
region-body the single items of the bill. So my first problem is that I
have to different single-page-masters, one for the first page, the other
for the rest. I have now created the first page, but how can I enforce a
page-break? I tried this:
<fo:page-sequence master-name="sequence">
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates select="DOCUMENT/DATA" mode="FirstPage"/>
</fo:flow>
<fo:block break-after="page"/>
<fo:static-content flow-name="xsl-region-before">
<fo:block-container height="3cm" width="7cm" top="0cm" left="0cm"
position="absolute">
<fo:block font-family="serif" font-size="10pt" font-weight="bold">
Some text
</fo:block>
</fo:block-container>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates select="DOCUMENT/ITEMS" mode="Rest"/>
</fo:flow>
FOP 0.15 returns the error that the flow-names must be unique. What can I
do? Can someone help me?
Thanks,
Tobi
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








