|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to display an attribute value in the footer of eve
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








