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

Re: xsl-fo: Setting Content of First Page [Going Nuts]

Subject: Re: xsl-fo: Setting Content of First Page [Going Nuts]
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Wed, 6 Sep 2000 09:12:24 +0400
1
Christopher,

> So far, so good.  The layout of the first page is different from the layout
> of the rest of the pages.  Now, I want to set the content of the first page
> different from the content of the rest of the pages.  Is there an easy way
> to do this (any way to do this) that I'm missing?

If the contents of the first page is always separate from the rest, why making
it belong to the same flow? Just set up a separate page sequence, consisting of
an only page, for the cover sheet. Note that in this case, you can cite the name
of the page master directly in the fo:page-sequence:


<!-- Keep the page sequence master simple -->
<fo:page-sequence-master master-name="PageLayout">
  <fo:repeatable-page-master-reference master-name="rest"/>
</fo:page-sequence-master>

<!-- Make a separate sequence for the cover sheet -->
<fo:page-sequence master-name="first">
  <!-- cover sheet code as appropriate -->
</fo:page-sequence>

<!-- Make a separate sequence for the cover sheet -->
<fo:page-sequence master-name="PageLayout">
  <!-- rest of the code as appropriate -->
</fo:page-sequence>

Best regards,

Nikolai Grigoriev
RenderX



 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.