1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
xmlns:t="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="t"
|
4
|
version="2.0">
|
5
|
|
6
|
<xsl:template match="t:figure">
|
7
|
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
|
8
|
<xsl:choose>
|
9
|
<xsl:when test="@href">
|
10
|
<a href="{@href}">
|
11
|
<xsl:apply-templates/>
|
12
|
</a>
|
13
|
</xsl:when>
|
14
|
<xsl:when test="$parm-leiden-style=('ddbdp','sammelbuch')">
|
15
|
<xsl:text>(</xsl:text>
|
16
|
<xsl:apply-templates/>
|
17
|
<xsl:text>)</xsl:text>
|
18
|
</xsl:when>
|
19
|
<xsl:otherwise>
|
20
|
<xsl:apply-templates/>
|
21
|
</xsl:otherwise>
|
22
|
</xsl:choose>
|
23
|
</xsl:template>
|
24
|
|
25
|
</xsl:stylesheet>
|