1 |
10059
|
mecum
|
<?xml version="1.0"?>
|
2 |
10385
|
mecum
|
<xsl:stylesheet
|
3 |
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
4 |
|
|
xmlns:gmx="http://www.isotc211.org/2005/gmx"
|
5 |
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
|
6 |
10059
|
mecum
|
<xsl:template match="gmx:Anchor">
|
7 |
|
|
<xsl:element name="a">
|
8 |
|
|
<xsl:attribute name="href">
|
9 |
|
|
<xsl:value-of select="./@xlink:href" />
|
10 |
|
|
</xsl:attribute>
|
11 |
|
|
<!-- Create the attributes for a Bootstrap tooltip to hold the title -->
|
12 |
|
|
<xsl:if test="./@xlink:title">
|
13 |
|
|
<xsl:attribute name="data-toggle">tooltip</xsl:attribute>
|
14 |
|
|
<xsl:attribute name="data-placement">top</xsl:attribute>
|
15 |
10385
|
mecum
|
<xsl:attribute name="title">
|
16 |
|
|
<xsl:value-of select="./@xlink:title" />
|
17 |
|
|
</xsl:attribute>
|
18 |
10059
|
mecum
|
</xsl:if>
|
19 |
|
|
<xsl:value-of select="./text()" />
|
20 |
|
|
</xsl:element>
|
21 |
|
|
</xsl:template>
|
22 |
|
|
</xsl:stylesheet>
|