[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

Subject: 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
xsl display attribute value
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.