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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--