Hi Team,
Is there any logic by which duplicate squire bracket can be avoided
([<xref><sup>[2]</sup></xref>]) . Below are input and output
XSLT:
<xsl:template match="citationref">
<xref>
<xsl:attribute name="rid"><xsl:value-of
select="@linkend"/></xsl:attribute>
<xsl:attribute name="ref-type">bibr</xsl:attribute>
<sup>
<xsl:text>[</xsl:text>
<xsl:apply-templates/>
<xsl:text>]</xsl:text>
</sup>
</xref>
</xsl:template>
Input:
<para>Once ... <citationref linkend="cit379-1">1</citationref>. The
...[<citationref linkend="cit379-2">2</citationref>].</p>
Output:
<p>Once ... <xref rid="cit379-1" ref-type="bibr"><sup>[1]</sup></xref>. The
...[<xref rid="cit379-2" ref-type="bibr"><sup>[2]</sup></xref>].</para>
Required Output:
<p>Once ... <xref rid="cit379-1" ref-type="bibr"><sup>[1]</sup></xref>. The
...<xref rid="cit379-2" ref-type="bibr"><sup>[2]</sup></xref>.</p>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--