Skip to content
Snippets Groups Projects
Commit f57c0ddf authored by Goik Martin's avatar Goik Martin
Browse files

Making xlink:href work

parent 37e3d17b
No related merge requests found
...@@ -185,9 +185,15 @@ ...@@ -185,9 +185,15 @@
<xsl:template match="db:link|db:uri"> <xsl:template match="db:link|db:uri">
<!-- link already present from template mode='link' --> <!-- link already present from template mode='link' -->
<span style='color:blue;'> <a style='color:blue;' >
<xsl:if test="@xlink:href">
<xsl:attribute name="href">
<xsl:value-of select="@xlink:href"/>
</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
</xsl:if>
<xsl:apply-templates/> <xsl:apply-templates/>
</span> </a>
</xsl:template> </xsl:template>
<xsl:template match="db:emphasis|db:acronym"> <xsl:template match="db:emphasis|db:acronym">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment