[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Page-break/Static content

Subject: Page-break/Static content
From: tobi.kamke@xxxxxxxxxxx (Tobi Kamke)
Date: Thu, 28 Dec 2000 11:50:52 +0100
xsl region body 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.