Hi,
i've got a first page, several pages and a last page.
First page should have certain data, several pages other data and the last page completely other data.
Where/How can i insert a statement like <xsl:apply-templates select="last"/> in my <fo:page-sequence master-reference ...>
The way to achieve this in XSL-FO is to define a page-sequence-master, e.g.
<fo:page-sequence-master master-name="all">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="firstmaster" page-position="first">
<fo:conditional-page-master-reference master-reference="middlemaster" page-position="rest">
<fo:conditional-page-master-reference master-reference="lastmaster" page-position="last">
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
then reference the page-sequence-master from the page-sequence, e.g.
<fo:page-sequence master-reference="all"> <!-- content --> </fo:page-sequence>
<snip/>
The only problem is that in FOP, page-position="last" has not been implemented! Depending on what differences you need, you can work around this to a limited extent using fo:marker.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]