I think you can have something like this:
<xsl:for-each select="account">
<fo:page-sequence master-name="main">
<!-- Header content. -->
<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="start" font-size="70%">
<xsl:value-of select="@no"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates/>
</fo:flow>
</fo:page-sequence>
</xsl:for-each>
So you get a page-sequence for each account. The xsl:apply-templates
statement can handle the <detail> tags and create the table you want.
Regards,
Mike
-----Original Message-----
From: Ingo Br�ll [mailto:[EMAIL PROTECTED]
Sent: 9. november 2001 16:14
To: [EMAIL PROTECTED]
Subject: RE: header
Hi,
> I do this by placing the following code in my page-sequence:
>
> <!-- Header content. -->
> <fo:static-content flow-name="xsl-region-before">
> <fo:block text-align="start" font-size="70%">
> <xsl:value-of select="Name"/>
> </fo:block>
> </fo:static-content>
>
that will not work for me. my xml file has the following structure:
<mandant >
<account no="1" year="1995" desc="something">
<detail ... />
<detail ... />
<detail ... />
</account>
<account no="2" year="1995" desc="bla">
<detail .../>
[...] many details
</account>
[...] many accounts
</mandant>
I generate a fo:table where the details would be shown. The account
attributes should always shown in the header (xsl-region-before). With your
code i do
not get the current account tags (<xsl:value-of select="@no"> or
yxsl:value-of select="account/@no" /> ).
so long
--
Ingo Bruell
---
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg PGP-Fingerprint: 9DD0 1776 DF4D 5B16 A532 C2A1 4701 EEA2
Germany PGP-Public-Key available at pgpkeys.mit.edu