Subject: Re: [xsl] how to format page number citation as "01" From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 28 Jan 2002 10:40:39 -0500 |
The cited page-number string is obtained by converting the cited page-number in accordance with the number to string conversion properties of the ancestor fo:page-sequence of the referenced formatting object.
At 2002-01-28 10:09 -0500, JZhang@xxxxxxxxxxxxx wrote:actually what I really want is format like this: page-number OF total-page-number ( 02 OF 08 )
so I use format in page-sequence to set the format for page-number <fo:page-sequence master-name="main" format="01">
but it doesn't work with page-number-citation which i used to get total page number the result i get is : 01 OF 3
It looks like the software implementing <page-number> is respecting the format token of the <page-sequence> as it is supposed to.
This would indicate either:
(1) - the format token of the page-sequence containing the block you are citing for your last page is not "01"
(2) - your software is not respecting the format token of the page-sequence of the citation as it is supposed to
I can't think of any other reasons.
................... Ken
-- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT & XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11, - 04-08,09,10,12,05-14,15,06-04,07
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to format page number, G. Ken Holman | Thread | Re: [xsl] how to format page number, JZhang |
Re: [xsl] how to format page number, G. Ken Holman | Date | Re: [xsl]: Context inside nested fo, Trevor Nash |
Month |