Re: [xsl] REPOST - duplicate footnotes

Subject: Re: [xsl] REPOST - duplicate footnotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Sep 2006 16:26:33 +0100
> . I want to output the number of the  -->
> 					<!-- footnote referenced by this
> targetid. -->
> 					<xsl:number
> count="footnote[@opid=$xrefnode]" format="1" level="any"/>

don't call xsl:number when the current node is the xrefinline inline
element, you need to _go_ to the referenced footnote and then call
xsl:number so that you generate the same number on both the footnote and
the refererence.

something like
<xsl:key name="f" match="footnote" use="@opid"/>

then 
	<fo:inline baseline-shift="super"
font-size="8pt">
<xsl:for-each select="key('f',@targetid)">
 <xsl:number level="any"/.
</xsl:for-each>
</fo:inline>

David

Current Thread