You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Kavitha Gowda <KG...@questia.com> on 2001/04/04 17:30:44 UTC
How to display an attribute value in the footer of every page.
I need to display the value of attribute 'pgnum' in the
footer(xsl-region-after) of every page.
I tried using page-number-citation, but it doesn't work.
Can someone please help me with this.
Thanks.
Kavitha
test.xml
<page pgid="pg5" pgnum="3" pubid="b645190" type="titlepage">
...............
...............
...........
</page>
<page pgid="pg6" pgnum="4" pubid="b645190" type="pubinfo">
............
............
...........
</page>
test.xsl
<fo:page-sequence master-name="master-pages-for-all">
<fo:static-content flow-name="xsl-region-before">
............
..............
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="center" font-size="8pt">
<xsl:text>Page: </xsl:text>
<fo:page-number-citation ref-id="/page/@pgnum"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
............
........
</fo:flow>
</fo:page-sequence>
Kavitha
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org