]> granicus.if.org Git - docbook-dsssl/commitdiff
We must use file:///c:/ instead of c:/ because extension functions are choking on...
authorJirka Kosek <jirka@kosek.cz>
Fri, 21 Apr 2006 20:24:19 +0000 (20:24 +0000)
committerJirka Kosek <jirka@kosek.cz>
Fri, 21 Apr 2006 20:24:19 +0000 (20:24 +0000)
xsl/common/stripns.xsl

index a6c1b6c5ea06a0068ec45d1439b00ee5cec3969f..7ac8693a33a053e4731c5ae79073e96d079a9d68 100644 (file)
            <xsl:when test="starts-with($base, 'file:/')
                            and substring($base, 8, 1) = ':'">
              <!-- Stupid windows file:/c:/path... -->
-             <xsl:value-of select="substring-after($base,'file:/')"/>
+             <xsl:value-of select="concat('file:///', substring-after($base,'file:/'))"/>
            </xsl:when>
            <xsl:when test="starts-with($base, 'file:/')">
              <xsl:value-of select="substring-after($base,'file:')"/>