Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv496/xsl/refdb/docbk-refdb-xsl/docbk-xhtml
Modified Files:
docbk-refdb-xhtml.xsl.in
Log Message:
use dash as a type spec separator
Index: docbk-refdb-xhtml.xsl.in
===================================================================
RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml/docbk-refdb-xhtml.xsl.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -U2 -r1.5 -r1.6
--- docbk-refdb-xhtml.xsl.in 11 Mar 2004 19:06:17 -0000 1.5
+++ docbk-refdb-xhtml.xsl.in 19 Mar 2004 23:23:12 -0000 1.6
@@ -377,5 +377,5 @@
<xsl:choose>
<xsl:when test="@role='MULTIXREF'">
- <xsl:variable name="multitarget" select="substring(following-sibling::xref/@linkend, 1, string-length(following-sibling::xref/@linkend) - 1)"/>
+ <xsl:variable name="multitarget" select="substring(following-sibling::xref/@linkend, 1, string-length(following-sibling::xref/@linkend) - 2)"/>
<a href='#{$multitarget}'>
<xsl:call-template name="refdb-literal">
@@ -388,5 +388,5 @@
</xsl:when>
<xsl:otherwise>
- <xsl:variable name="realtarget" select="substring(@linkend, 1, string-length(@linkend) - 1)"/>
+ <xsl:variable name="realtarget" select="substring(@linkend, 1, string-length(@linkend) - 2)"/>
<xsl:variable name="ptrtype" select="id(@linkend)/@role"/>
<a href='#{$realtarget}'>
|