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

problem with page number citations

From: Hong Jiang <hjiang@obj-x.com>
Date: Thu, 07 Feb 2002 10:38:30 -0500
Message-ID: <3C629F76.5E5049A5@obj-x.com>
To: www-xsl-fo@w3.org

I used the following code to create a toc page. It worked well with
every page except the last one. No matter what the last page is, the
page number citation is always nothing. Can anybody tell me with wrong
with it?

<fo:block break-before="page">
     <xsl:for-each select="report/pg">
       <fo:block text-align-last="justify">
          <xsl:value-of select="position()"/>. <xsl:value-of
          <fo:leader leader-pattern="dots"/>
          <xsl:if test="xslFile='overview'" >
               <fo:page-number-citation ref-id="overview"/>
          <xsl:if test="xslFile='top10'" >
               <fo:page-number-citation ref-id="top10"/>
          <xsl:if test="xslFile='partHolding'" >
               <fo:page-number-citation ref-id="partHolding"/>
          <xsl:if test="xslFile='appreciation'" >
               <fo:page-number-citation ref-id="appreciation"/>
          <xsl:if test="xslFile='industry'" >
               <fo:page-number-citation ref-id="industry"/>
          <xsl:if test="xslFile='privHolding'" >
               <fo:page-number-citation ref-id="privHolding"/>
          <xsl:if test="xslFile='investment'" >
               <fo:page-number-citation ref-id="investment"/>
          <xsl:if test="xslFile='fofOverview'" >
               <fo:page-number-citation ref-id="fofOverview"/>
          <xsl:if test="xslFile='fofCommitment'" >
               <fo:page-number-citation ref-id="fofCommitment"/>
          <xsl:if test="xslFile='compOverview'" >
               <fo:page-number-citation ref-id="compOverview"/>

Thanks in advance,

Received on Thursday, 7 February 2002 10:37:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:53 UTC