Michel (archive)
Usenet Archive
- Joined
- Nov 5, 2000
- Messages
- 109
- Reaction score
- 0
Hi all,
This is my first post, so I am very new at this. I am trying to use page-number-citation twice in my code, but the second time it just shows '0'. The output is in pdf format and I am using Antenna XSL formatter V3. This is what I have sofar:
<fo
age-sequence master-reference="frame-pages" force-page- count="even"> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates /> <xsl:for-each select="/Package/PackageBody"> <xsl:call-template name="individual-data"/> </xsl:for-each> </fo:flow> </fo
age-sequence>
<xsl:template name="list-a">
<fo:table width="100%">
<fo:table-body>
<xsl:for-each select="Package">
<fo:table-row>
<fo:table-cell>
<fo:block font-size="6pt">
<fo
age-number-citation ref-id="{generate-id(.)}" />
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="list-b">
<fo:table width="100%">
<fo:table-body>
<xsl:for-each select="key('funds-by-category', CategoryName)"> <fo:table-row> <fo:table-cell> <fo:block font-size="6pt"> <fo
age-number-citation ref-id="{generate-id(.)}" /> </fo:block> </fo:table-cell> </fo:table-row> </xsl:for-each> </fo:table-body> </fo:table> </xsl:template>
<xsl:template name="individual-data">
<fo
age-sequence master-reference="frame-pages" force-page- count="even"> <fo:flow flow-name="xsl-region-body"> <fo:block id="{generate-id}"></fo:block> <xsl:call-template name="fss-page"> <xsl:with-param name="data" select="."/> </fo:flow> </fo
age-sequence> </xsl:template>
The page numbers in template list-a show correctly, but don't for template list-b. Both page-number-citation's refer to the same fo:block, which is probably the cause of the problem.
I tried:
<fo
age-number-citation ref-id="{generate-id(aaaa)}" /> in template list-a <fo
age-number-citation ref-id="{generate-id(bbbb)}" /> in template list-b <fo:block id="{generate-id(aaaa)}"></fo:block><fo:block id="{generate-id(bbbb)}"></fo:block> in template individual-data
This results in just 0's for the page-number-citation's.
Can anyone give me tips how to solve this?
Thanks a lot.
Michel
This is my first post, so I am very new at this. I am trying to use page-number-citation twice in my code, but the second time it just shows '0'. The output is in pdf format and I am using Antenna XSL formatter V3. This is what I have sofar:
<fo
<xsl:template name="list-a">
<fo:table width="100%">
<fo:table-body>
<xsl:for-each select="Package">
<fo:table-row>
<fo:table-cell>
<fo:block font-size="6pt">
<fo
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="list-b">
<fo:table width="100%">
<fo:table-body>
<xsl:for-each select="key('funds-by-category', CategoryName)"> <fo:table-row> <fo:table-cell> <fo:block font-size="6pt"> <fo
<xsl:template name="individual-data">
<fo
The page numbers in template list-a show correctly, but don't for template list-b. Both page-number-citation's refer to the same fo:block, which is probably the cause of the problem.
I tried:
<fo
This results in just 0's for the page-number-citation's.
Can anyone give me tips how to solve this?
Thanks a lot.
Michel