I have a question regarding xsl:number.

Generating a table of content the page-number-citation of the last
"TITLE" is missing.

<xsl:template match="TITLE[parent::SEC1]" mode="toc">
<fo:table>
<fo:table-column column-width="12cm"/>
<fo:table-column column-width="3cm"/>

<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block margin-left="0.0pt" xsl:use-attribute-sets="gs_standard_it">
<fo:inline xsl:use-attribute-sets="inline_standard_it">
<fo:basic-link internal-destination="{generate-id(.)}">
        <xsl:number  count="TITLE[parent::SEC1]" format="1."/>
      <xsl:apply-templates/>
    </fo:basic-link>
</fo:inline>
</fo:block>
</fo:table-cell>

<fo:table-cell>
<fo:block margin-left="0.0pt" space-after="3.0pt" space-before="0.0pt"
text-align="end"   end-indent="0.5cm" line-height="1.2">
  <fo:inline xsl:use-attribute-sets="inline_standard_it">
<fo:page-number-citation ref-id="{generate-id(.)}"/>
</fo:inline>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>

Has anyone an idea whats wrong with this or has to be noted?
Thanks Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to