This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How to display an attribute value in the footer of every page (resend)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] How to display an attribute value in the footer of every page (resend)
- From: "Kavitha Gowda" <KGowda at questia dot com>
- Date: Wed, 4 Apr 2001 10:28:21 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list