Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2006, 01:49 AM
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to assign fo:page-number to a xsl:variable or

hi
    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
Jyotsna.g

thanks
jyotsna





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





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