Hi
Wie der Titel schon sagt will ich die Pagenumber unten mir anzeigen lassen.
Ich habe vergeblich es so probiert.
Wie der Titel schon sagt will ich die Pagenumber unten mir anzeigen lassen.
Ich habe vergeblich es so probiert.
Code:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="xml" version="1.0" encoding="UTF-8"/> <xsl:template match="texte"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4-hoch" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="3cm" margin-right="2cm"> <fo:region-body margin="25mm" /> <fo:region-before extent="25mm" /> <fo:region-end /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4-hoch"> <fo:static-content flow-name="xsl-region-before"> <xsl:apply-templates select="text1"/> </fo:static-content> <fo:static-content flow-name="xsl-region-end"> <fo:block> <fo:page-number /> </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="text1"/> <xsl:apply-templates select="text2"/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> ...........
Comment