Subject: Re: [xsl] how to format page number citation as "01" From: JZhang@xxxxxxxxxxxxx Date: Mon, 28 Jan 2002 10:09:56 -0500 |
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 "G. Ken Holman" <gkholman@CraneSoftwrights. To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx com> cc: Sent by: Subject: Re: [xsl] how to format page number citation as "01" owner-xsl-list@xxxxxxxxxxxx rytech.com 01/28/2002 08:33 AM Please respond to xsl-list At 2002-01-27 17:05 -0500, JZhang@xxxxxxxxxxxxx wrote: >I want to format the page number citation like "01" instead of "0" >how to put xsl function like <fo:page-number-citation ref-id='endofdoc'/> >into the value of format-number like format-number >('<fo:page-number-citation >ref-id='endofdoc'/>', '00') In XSLFO 1.0 the rendering of a cited page number is dictated by the page number formatting of the page sequence in which the cited page is found. This cannot be overridden at the point of the citation. This design frees the stylesheet writer from having to know the formatting of the page sequence ... consider that perhaps front matter might be formatted using roman numerals, yet one is in a chapter page sequence. The citation will render the page number of the front matter in the front matter numbering conventions, thus guaranteeing the format of the number in the flow of the text will match the format of the number in the cited page sequence. This matching would be very important (I would think) for the reader navigation ... why would you want to cite the page number differently than how the page you are citing formats its page number? ............................. 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to format page number, G. Ken Holman | Thread | Re: [xsl] how to format page number, G. Ken Holman |
[xsl] FW: Path Reversal, Alek Andreev | Date | [xsl] Re: Hi Dimitre, question on e, Dimitre Novatchev |
Month |