W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2002

Alternating or conditional static-content?

From: Pekka Kilpelainen <kilpelai@cs.uku.fi>
Date: Thu, 25 Apr 2002 09:27:24 -0400 (EDT)
To: <www-xsl-fo@w3.org>
Cc: Pekka Kilpelainen <kilpelai@cs.uku.fi>
Message-ID: <Pine.GSO.4.33.0204251217350.6060-100000@cs.uku.fi>
Dear XSL-FO Experts,

I have a question about producing "varying static content" for pages,
based on the position of the page or (the parity of) the page number. (I
hope this is not a FAQ; I browsed only the 2002 archive of this list but
did not find anything relevant.) An example of this is the convention of
displaying, say, the names of authors at the top of even-numbered
pages and the title of the chapter at the top of odd-numbered pages. Also,
even page numbers are often aligned at the start (left) edge, and odd page
numbers at the end (right) edge of a page.

My question is:

(1) is it possible to desrcibe such alternating or conditional
static-content with the current XSL page model (simple-page-master).

(2) is it possible to create such alternating or conditional
static-content with some current XSL formatter (like FOP or
Passive TeX or XEP)?

(I know how to use XSLT for conditional processing, but without simulating
the formatting process an XSLT script has no access to XSL traits like
page numbers.)

Yours, Pekka Kilpeläinen

P.S. I now that it may be rude to ask for direct replys to a question
posted on a mail list, but as a university professor I have little
time to monitor mailing lists.
Therefore I would greatly appreciate carbon-copies
of productive replies sent directly to me.

Pekka Kilpeläinen, Univ. of Kuopio, Dept. of Computer Science & Applied Math
    email: Pekka.Kilpelainen@cs.uku.fi
    phone: +358 17 163761, fax: +358 17 162595
    http://www.cs.uku.fi/~kilpelai/
Received on Thursday, 25 April 2002 11:36:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT