|
I've been looking over the net and there doesn't seem to be any other people around who's had that problem (or my googling skills are off this morning) so here I am asking this question:
I have an xsl file that I built for a report (pdf, transforming through NFop in an asp.net application) which is built from an xml file created on the fly with database data. So far so good, I can display the data just fine, however this one specific report is a list of appointment/day, and so the customer wants the very usual 1 day per page. I rummaged around and found the break-before/after attribute and tried it out.
break-before="page" causes my first page to be blank of data (region-before and after are showing up)
break-after="page" creates an empty page at the end (just like the first one).
I tried shifting the attribute from one spot to another, without any succes. i'm thinking it may be my logic that's just as bad as my googling skills today, or maybe theres something i should know that I don't so i figured I'd ask about it. Here's a part of the xsl-file if it can help anyone help me:
<fo:flow flow-name="xsl-region-body">
<xsl:for-each select="AppointmentDay">
<fo:block text-align="left" break-after="page">
<fo:block text-align="right">
<xsl:value-of select="DateApnt" />
</fo:block>
<fo:table> <!--this is where the data is displayed by another for-each--></fo:table>
</fo:block>
</xsl:for-each>
</fo:flow>
I would be really thankful for any help on the matter, thank you in advance
|