This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to format page number citation as "01"
- From: "G. Ken Holman" <gkholman at CraneSoftwrights dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 28 Jan 2002 10:40:39 -0500
- Subject: Re: [xsl] how to format page number citation as "01"
- References: <OF1DA354E4.B309B2D9-ON85256B4F.00534688@phoenixca.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Sorry, I meant to cite chapter and verse for my claim about the formatting
of the page number citation:
6.6.11: fo: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@phoenixca.com 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@CraneSoftwrights.com
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list