Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 14th, 2006, 01:49 AM
Registered User
Join Date: Mar 2006
Location: bangalore, karnataka, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to assign fo:page-number to a xsl:variable or

    my requiremnt is generating consecutive numbers(Line numbers for a PDF ) here content is dynamic so pagecount will change,here i have <fo:page-number> for refering a page but i can't put or assign to a variable.and i have <fo:page-number-citation> how can i use these tags to refer a page.here the problem is we do not know how many numbers we have to generate its all basing on no of pages <xsl:fo> generates,so how can i assign <fo:pagenumber> to a <xsl:variable>.for generating line numbers i can use <xsl:number> but i do not have any corresponding node in the xml file,so there is no possibility of using this tag.is there any way to refer a page in Pdf.<fo:page-number>,<fo:pagenumber-citation> these are there but for printing purpose only we can;t put these values into a <xsl:variable >

Thanks in advance

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL Fo: Forcing page numbers ashishb2281 XSLT 0 August 1st, 2008 08:43 AM
assign XSLT variable to a wml variable arunagottimukkala XSLT 2 October 19th, 2007 05:15 AM
assign javascript variable to asp variable manjunath_c_k Classic ASP Basics 1 September 14th, 2006 07:35 AM
Pass XSL variable back to asp.net page ayamas XSLT 8 September 14th, 2006 06:07 AM
XSL-FO NEO1976 XML 2 July 19th, 2006 10:10 AM

All times are GMT -4. The time now is 02:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.