[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Squire bracket is getting duplicate.
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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|