[XSL-LIST Mailing List Archive Home]
Re: [xsl] how to format page number citation as "01"
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
Sorry, I meant to cite chapter and verse for my claim about the formatting
of the page number citation:
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:38 -0500, I wrote:
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
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.
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),
Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list