Re: how to display something like "Page 1 of 5" in the PDF page header

2004-04-07 Thread Biying Huang
Clay, Thank you very much! It works perfect. Biiying Clay Leeds wrote: See info below next to the two items. Have a nice day! Web Maestro Clay p.s. I assume your actual pages have proper syntax (I didn't check anything--just added the code in the proper spots). ==data.xml=

how to display something like "Page 1 of 5" in the PDF page header

2004-04-07 Thread Biying Huang
Hi, I use FOP to generate a PDF from a XML file and a SXLT file. I am trying to display something like "Page 1 of 5" in the PDF page header. . I found a suggestion from http://www.dpawson.co.uk/xsl/sect3/N8703.html#d9294e31, but I don't understand. It says: will produce it, if the last thing

how to center a table horizontally on the page

2002-11-11 Thread Biying Huang
Hi, everyone: I have a table which has dynamic table-width. I need to put it in the center of the page horizontally so I put the fo:table in a fo:block and set text-align="center" to the fo:block. But this doesn't work. The table is always on the left. Here is my code: