Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- $Id: htm-teispace.xsl 2090 2013-10-24 15:23:22Z gabrielbodard $ -->
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
   xmlns:t="http://www.tei-c.org/ns/1.0"
5
   exclude-result-prefixes="t" version="2.0">
6

    
7
   <xsl:template name="space-content">
8
       <xsl:param name="parm-leiden-style" tunnel="yes" required="no"></xsl:param>
9
       <xsl:param name="vacat"/>
10
      <xsl:param name="extent"/>
11

    
12
      <xsl:choose>
13
          <xsl:when test="$parm-leiden-style = 'london'">
14
            <i>
15
               <!-- Found in teispace.xsl -->
16
               <xsl:call-template name="space-content-1">
17
                  <xsl:with-param name="vacat" select="$vacat"/>
18
               </xsl:call-template>
19
            </i>
20
         </xsl:when>
21
          <xsl:when test="$parm-leiden-style = 'panciera'">
22
            <!-- Found in teispace.xsl -->
23
            <xsl:call-template name="space-content-2">
24
               <xsl:with-param name="vacat" select="$vacat"/>
25
               <xsl:with-param name="extent" select="$extent"/>
26
            </xsl:call-template>
27
         </xsl:when>
28
         <xsl:otherwise>
29
            <!-- Found in teispace.xsl -->
30
            <xsl:call-template name="space-content-2">
31
               <xsl:with-param name="vacat" select="$vacat"/>
32
               <xsl:with-param name="extent" select="$extent"/>
33
            </xsl:call-template>
34
         </xsl:otherwise>
35
      </xsl:choose>
36
   </xsl:template>
37

    
38
   <xsl:template name="dip-space">
39
      <em>
40
         <span class="smaller">
41
            <xsl:call-template name="space-content-1">
42
               <xsl:with-param name="vacat" select="'vacat '"/>
43
            </xsl:call-template>
44
         </span>
45
      </em>
46
   </xsl:template>
47

    
48
</xsl:stylesheet>
(28-28/95)