[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl-fo repeat 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|