Try something like this:
<fo:layout-master-set>
<fo:simple-page-master
master-name="first-page"
page-height="29.7cm"
page-width="21cm"
margin-top="1.0cm"
margin-left="1.76cm"
margin-right="4.0cm">
<fo:region-before region-name="header-first" extent="6.0cm"/>
<fo:region-body
margin-top="6.1cm"
margin-bottom="3.1cm"/>
</fo:simple-page-master>
<fo:simple-page-master
master-name="all-other-page"
page-height="29.7cm"
page-width="21cm"
margin-top="1.0cm"
margin-left="1.76cm"
margin-right="3.0cm">
<fo:region-before region-name="header-rest" extent="3.5cm"/>
<fo:region-body
margin-top="3.6cm"
margin-bottom="3.1cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="content">
<fo:single-page-master-reference master-name="
first-page" page-position="first" initial-page-number="1"/>
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-name
="all-other-page"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-name="content">
<xsl:call-template name="firstheader"/>
<xsl:call-template name="restheader"/>
<fo:flow flow-name="xsl-region-body">
<fo:block></fo:block>
</fo:flow>
</fo:page-sequence>
<xsl:template name="firstheader">
<fo:static-content flow-name="header-first">
<fo:block></fo:block>
</fo:static-content>
</xsl:template>
<xsl:template name="restheader">
<fo:static-content flow-name="header-rest">
<fo:block></fo:block>
</fo:static-content>
</xsl:template>
Hope it gives you a hint :)
Claus Nielsen
Denmark
"Dariusz
Grabowski" To: <[EMAIL PROTECTED]>
<dariusz.grabows cc:
[EMAIL PROTECTED]> Subject: Haw to insert different text
into headers.
03-01-2001 17:08
Please respond
to fop-dev
I try create simple document with four pages. The document contains only
text.
In the header I must put some texts. First page must contains different
text
than rest of a pages.
I know haw to create different layouts using fo:page-sequence-master.
But I don't know haw to insert different text in header on first page
and another text in header in next pages?
Help me.
DarekG
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]