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

xsl-fo repeat page-sequence

Subject: xsl-fo repeat page-sequence
From: Hong Le <hongdlez@xxxxxxxxx>
Date: Thu, 6 Jan 2005 09:26:21 -0800 (PST)
fo page sequence
Hi,
 
I'm new to xsl-fo. I have an xml file which dynamic
gerenated. It has unknown number of <property>
...</property>. In my .xsl file, I define template for
"first" (2-column)pages and the "rest" (1-column). I
have page-sequence master as
 
    <fo:page-sequence-master master-name="document">
      <fo:repeatable-page-master-alternatives>
        <fo:conditional-page-master-reference
page-position="first" master-reference="first"/>
        <fo:conditional-page-master-reference
page-position="rest" master-reference="rest"/>
      </fo:repeatable-page-master-alternatives>
    </fo:page-sequence-master>

........

Then I have 
      <fo:page-sequence master-reference="document"
initial-page-number="1">
          ................
        <fo:flow flow-name="xsl-region-body">
          <fo:block font-size="10pt">
                <xsl:apply-templates
select="property"/>
          </fo:block>
        </fo:flow>
      </fo:page-sequence> 

I just have only on page-sequence for multiple
<property>s.

My problem is I have all <property>s printed out in
PDF but the page number won't reset to 1 on first
page of each property and only one page (first page of
first property) using the "first" template. First
page of other properties just use the "rest" template.

What I missing or need to do? Thank you a lot.

Hong 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

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.