[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] How to display an attribute value in the footer of every page (resend)


Subject: [xsl] How to display an attribute value in the footer of every page (resend)
From: "Kavitha Gowda" <KGowda@xxxxxxxxxxx>
Date: Wed, 4 Apr 2001 10:28:21 -0500

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



Current Thread