[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to format page number citation as "01"
At 2002-01-28 11:11 -0500, JZhang@xxxxxxxxxxxxx wrote:
what I used is just as follows: Note you could just have <fo:block id="endofdoc"/> since it is not necessary to actually have a page number in the flow (and may even not be what you wish to see show up on the last page)... the formatter just looks at where the id'ed area is. the result form xalan and fop is PAGE 01 OF 3 Looks like a bug to me. I'm not running fop. The stream below works just fine in Antenna House. ................ Ken <?xml version="1.0" encoding="utf-8"?><!--zhang.fo--> <root xmlns="http://www.w3.org/1999/XSL/Format" font-family="Times" font-size="20pt"> <layout-master-set> <simple-page-master master-name="frame" page-height="11in" page-width="8.5in" margin-top=".6in" margin-bottom=".6in" margin-left=".6in" margin-right=".6in"> <region-body region-name="frame-body"/> </simple-page-master> </layout-master-set> <page-sequence master-reference="frame" format="01"> <flow flow-name="frame-body">
<block id="endofdoc"/> </flow></page-sequence></root>
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|