Update of /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv496/xsl/refdb/tei-refdb-xsl/tei-html
Modified Files:
tei-refdb-html.xsl.in
Log Message:
use dash as a type spec separator
Index: tei-refdb-html.xsl.in
===================================================================
RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-html/tei-refdb-html.xsl.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -U2 -r1.1 -r1.2
--- tei-refdb-html.xsl.in 22 Feb 2002 07:21:39 -0000 1.1
+++ tei-refdb-html.xsl.in 19 Mar 2004 23:23:12 -0000 1.2
@@ -84,5 +84,5 @@
<xsl:choose>
<xsl:when test="@type='MULTIXREF'">
- <xsl:variable name="multitarget" select="substring(following-sibling::ptr/@target, 1, string-length(following-sibling::ptr/@target) - 1)"/>
+ <xsl:variable name="multitarget" select="substring(following-sibling::ptr/@target, 1, string-length(following-sibling::ptr/@target) - 2)"/>
<a href='#{$multitarget}'>
<xsl:call-template name="refdb-literal">
@@ -95,5 +95,5 @@
</xsl:when>
<xsl:otherwise>
- <xsl:variable name="realtarget" select="substring(@target, 1, string-length(@target) - 1)"/>
+ <xsl:variable name="realtarget" select="substring(@target, 1, string-length(@target) - 2)"/>
<xsl:variable name="ptrtype" select="id(@target)/@type"/>
<a href='#{$realtarget}'>
|