Guillaume Mathe wrote:
How can i start over the page-sequence each time i start a new <subdoc> ?
<doc>
<subdoc>
<part-a/>
<part-b/>
</subdoc>
<subdoc>
<part-a/>
<part-b/>
</subdoc>
Generate multiple fo:page-sequence elements: <xsl:template match="/">
<fo:root>
<fo:layout-master-set>
...
</fo:layout-master-set>
<xsl:apply-templates/>
</fo:root>
</xsl:template>
<xsl:template match="subdoc">
<fo:page-sequence master-reference="...">
<fo:static-content>
...
<fo:static-content>
<fo:flow>
<xsl:apply-templates>
</fo:flow>
</fo:page-sequence>
</xsl:template>
Look up the initial-page-number attribute for fo:page-sequence
starting with something else than page 1.
J.Pietschmann