Kevin - I have done this by putting a marker at the end of the document.
For example put an empty block as the last item of content and giving it
an id attribute.
for example
<fo:page-number-citation ref-id="theend"/> (this generates the page
number of the last page)
...
<fo:block id="theend"/> (this goes at the very end of the document)
If you have the O'Reilly book by Dave Pawson see page 173
Steve
Kevin Trainor wrote:
> Hello All,
>
>
>
> I have an XSLT / XSL-FO application that I use to generate slides for
> my courseware. When I generate the slides for a course, I use
> <fo:page-number/> to number the slides consecutively. Additonally,
> some of my slides make up a series that I would also like to label as
> [1 of 4], [2 of 4], [3 of 4], etc. So far, I have not figured out a
> good way to do this. It seems to me that this would be a double page
> numbering scheme like the one that was discussed on this list about a
> month ago. I recall that the best advice in that thread was to do
> post processing on the FO output file.
>
>
>
> Can anyone think of a way to do this with just a single pass of XSLT
> and XSL-FO?
>
>
>
> Thanks in advance for you help.
>
>
>
> Kevin
>
>
>
>
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Mar 30 16:08:12 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 30 2006 - 16:08:13 PST