forked from EpiDoc/Stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
htm-teispace.xsl
48 lines (44 loc) · 1.67 KB
/
htm-teispace.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:t="http://www.tei-c.org/ns/1.0"
exclude-result-prefixes="t" version="2.0">
<xsl:template name="space-content">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
<xsl:param name="vacat"/>
<xsl:param name="extent"/>
<xsl:choose>
<xsl:when test="$parm-leiden-style = 'london'">
<i>
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="$vacat"/>
</xsl:call-template>
</i>
</xsl:when>
<xsl:when test="$parm-leiden-style = 'panciera'">
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dip-space">
<em>
<span class="smaller">
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="'vacat '"/>
</xsl:call-template>
</span>
</em>
</xsl:template>
</xsl:stylesheet>