probléme pagination sous XSL-FO ?
bonjour j'ai une erreur au niveau de ma pagination de xsl-fo que j'arrive pas à resoudre.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="http://www.stylusstudio.com/xquery">
<xsl:template match="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="default-page" page-height="11in" page-width="8.5in" margin-left="0.1in" margin-right="0.013in" margin-top="0.01in" margin-bottom="0.1in" >
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="default-page">
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="right" font-size="10pt" color="#000000">
<fo:inline>- <fo:page-number/> -</fo:inline>
</fo:block>
</fo:static-content> <fo:flow flow-name="xsl-region-body">
<fo:block> affichage de mes resultat</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet> |
l'erreur de fop est :
Code:
flow-name "xsl-region-after" could not be mapped to a region-name in the layout