Subject: [xsl] xsl-fo repeat page-sequence From: Hong Le <hongdlez@xxxxxxxxx> Date: Thu, 6 Jan 2005 09:26:21 -0800 (PST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML/XSLT formatting probl, Chris Hicks | Thread | [xsl] Group various elements with e, M Glenties |
RE: [xsl] GUI layout mechanism in X, Wendell Piez | Date | [xsl] iTunes XSL, John |
Month |