W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2002

FO RFE: Page-aware conditional inclusion

From: W. Eliot Kimber <eliot@isogen.com>
Date: Fri, 04 Oct 2002 09:42:34 -0500
Message-ID: <3D9DA8DA.277C997D@isogen.com>
To: xsl editors <xsl-editors@w3.org>

In the very old days, when I used IBM BookMaster to produce printed
documents from generic markup, BookMaster provided the feature of
automatically suppressing the "on page xx" text generated by cross
references if the thing referenced was on the same page as the

I would like to do the same thing with XSL FO but it's not
possible in XSL 1.0. That is, I'd like to be able to do something like

<xsl:template match="crossref">
    <xsl:apply-templates select="id(@refid)" mode="xref"/>
    <fo:if-not-on-current-page ref-id="{generate-id(id(@refid))}">
      <xsl:text>, on page </xsl:text>
      <fo:page-number-citation ref-id="{generate-id(id(@refid))}"/>


W. Eliot Kimber, eliot@isogen.com
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139
Received on Friday, 4 October 2002 10:41:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC