Hi, 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 select="pageTitle"/> <fo:leader leader-pattern="dots"/> <xsl:if test="xslFile='overview'" > <fo:page-number-citation ref-id="overview"/> </xsl:if> <xsl:if test="xslFile='top10'" > <fo:page-number-citation ref-id="top10"/> </xsl:if> <xsl:if test="xslFile='partHolding'" > <fo:page-number-citation ref-id="partHolding"/> </xsl:if> <xsl:if test="xslFile='appreciation'" > <fo:page-number-citation ref-id="appreciation"/> </xsl:if> <xsl:if test="xslFile='industry'" > <fo:page-number-citation ref-id="industry"/> </xsl:if> <xsl:if test="xslFile='privHolding'" > <fo:page-number-citation ref-id="privHolding"/> </xsl:if> <xsl:if test="xslFile='investment'" > <fo:page-number-citation ref-id="investment"/> </xsl:if> <xsl:if test="xslFile='fofOverview'" > <fo:page-number-citation ref-id="fofOverview"/> </xsl:if> <xsl:if test="xslFile='fofCommitment'" > <fo:page-number-citation ref-id="fofCommitment"/> </xsl:if> <xsl:if test="xslFile='compOverview'" > <fo:page-number-citation ref-id="compOverview"/> </xsl:if> </fo:block> </xsl:for-each> </fo:block> Thanks in advance, HongReceived on Thursday, 7 February 2002 10:37:50 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT