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

Re: different first page using sequence-specifier-repe

Subject: Re: different first page using sequence-specifier-repeating
From: "Steve Switzer" <sswitzer@xxxxxxxx>
Date: Mon, 05 Feb 2001 10:24:27 -0800
repe video
That worked great!

I used the:
page-position="first"
page-position="rest"
page-position="last"

instead of:
odd-or-even

and it worked wonderful.

Thank you very much.

Nikolai Grigoriev wrote:

> Steve,
>
> > I've seen lot's of examples such as:
> >
> > <fo:layout-master-set>
> >     <fo:simple-page-master
> >          page-master-name="one"
> > ...
> >
> <skip/>
> >
> > But can anyone give me an example of how to have two different
> > page layouts?  I want to have a different page header on the first
> > page than the rest of the pages.
>
> Your examples follow the old version of XSL Working Draft (namely, that of April
> 21, 1999). At that time, what you are asking for was impossible.
>
> The current version of XSL FO (Candidate Recommendation of November 21, 2000)
> has means to switch headers put on different pages - you can give custom names
> to regions, and than specify these names in flow-name property of a
> fo:static-content element (see code below).
>
> Most XSL FO formatters now support the Candidate Recommendation. Which one are
> you using? Probably, it needs upgrading. By the way: we have a stylesheet to
> convert Apr'99 XSLFO files to XSL CR (available from
> http://www.renderx.com/Tests/validator/FO99to00.xsl; also part of XEP2.01 eval
> version distribution).
>
> Regards,
>
> Nikolai Grigoriev
> RenderX
>
> ============================================
> <fo:layout-master-set>
>   <!-- even pages -->
>   <fo:simple-page-master master-name="left">
>     <fo:region-body margin="1in"/>
>     <fo:region-before extent="1in" region-name="left-header"/>
>   </fo:simple-page-master>
>   <!-- odd pages -->
>   <fo:simple-page-master master-name="right">
>     <fo:region-body margin="1in"/>
>     <fo:region-before extent="1in" region-name="right-header"/>
>   </fo:simple-page-master>
>
>   <!-- page sequence master - replaces sequence-specification -->
>   <fo:page-sequence-master master-name="alternating">
>     <fo:repeatable-page-master-alternatives>
>       <fo:conditional-page-master-reference master-name="left"
>             odd-or-even="even"/>
>       <fo:conditional-page-master-reference master-name="right"/>
>     </fo:repeatable-page-master-alternatives>
>   </fo:page-sequence-master>
> </fo:layout-master-set>
>
> <fo:page-sequence master-name="alternating">
>   <fo:static-content flow-name="left-header">
>     <fo:block text-align="start">Left Header</fo:block>
>   </fo:static-content>
>
>   <fo:static-content flow-name="right-header">
>     <fo:block text-align="end">Right Header</fo:block>
>   </fo:static-content>
>
>   <fo:flow>
>     ......
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.