[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Re: RE: number total of page

Subject: Re: Re: Re: RE: number total of page
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Jul 2003 18:08:31 +0100
fo page number total
> Sorry I don't anderstand, can you explain . it could work . :)


Currently you are generating an FO file that will look like

... lots of stuff...
</xsl:fo:page-sequence>
</xsl:fo:root>


If instead it looked like


... lots of stuff...
<fo:block id="last-page"/>
</xsl:fo:page-sequence>
</xsl:fo:root>

then it would print the same way, but you could use page-citation to
that last empty block to produce the string value of the last page
number,

ie some other template could write out
	
<fo:page-number-citation ref-id="last-lage/> 


and this will be the final page number.

depending on your stylesheet it may or may not be trivial to determine
exactly which page-sequence template you need to change, but a little
experimentation should let you find it (for example you could change
them all, adding blocks with different ids and just look at the result)

david

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.