Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- $Id: txt-teinote.xsl 1543 2011-08-31 15:47:37Z ryanfb $ -->
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
                xmlns:t="http://www.tei-c.org/ns/1.0"
5
                version="2.0">
6
  <!-- Template in teinote.xsl -->
7
  <xsl:import href="teinote.xsl"/>
8
  
9
  <xsl:template match="t:note">
10
      <xsl:choose>
11
         <xsl:when test="ancestor::t:p or ancestor::t:l or ancestor::t:ab">
12
            <xsl:apply-imports/>
13
         </xsl:when>
14
         <xsl:otherwise>
15
            <xsl:text>
16
&#xD;</xsl:text>
17
            <xsl:apply-imports/>
18
            <xsl:text>
19
&#xD;</xsl:text>
20
         </xsl:otherwise>
21
      </xsl:choose>
22
  </xsl:template>
23
  
24
</xsl:stylesheet>
(88-88/95)