[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FO: Show page number only if target is on different pa

Subject: FO: Show page number only if target is on different page
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Thu, 03 Oct 2002 12:29:25 -0500
fo if
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 I don't think it's
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))}"/>

Is something like this possible today or should I submit this as an
extension requirement? Is this already a logged RFE?


W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.