letters
[librarian.git] / src / librarian / xslt / book2txt.xslt
index d43c7d4..290a8aa 100644 (file)
 <xsl:apply-templates mode="inline" />
 </xsl:template>
 
-<xsl:template match="akap|akap_dialog|akap_cd">
+<xsl:template match="akap|akap_dialog|akap_cd|werset">
 <xsl:variable name="content">
     <xsl:apply-templates select="*|text()" mode="inline" />
 </xsl:variable>
 <xsl:value-of select="wl:wrap_words(wl:strip($content), $wrapping)" />
 </xsl:template>
 
+<xsl:template match="list">
+<xsl:text>
+
+
+</xsl:text>
+<xsl:apply-templates />
+<xsl:text>
+
+
+</xsl:text>
+</xsl:template>
+<xsl:template match="adesat">
+  <xsl:text>
+                </xsl:text>
+  <xsl:apply-templates select="*|text()" mode="inline" />
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="miejsce_data">
+  <xsl:text>
+                </xsl:text>
+  <xsl:apply-templates select="*|text()" mode="inline" />
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="naglowek_listu">
+  <xsl:text>
+
+        </xsl:text>
+  <xsl:apply-templates select="*|text()" mode="inline" />
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="pozdrowienie">
+  <xsl:text>
+    </xsl:text>
+  <xsl:apply-templates select="*|text()" mode="inline" />
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="podpis">
+  <xsl:text>
+        </xsl:text>
+  <xsl:apply-templates select="*|text()" mode="inline" />
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+
 <xsl:template match="strofa">
 <xsl:text>
 </xsl:text>
 <!-- = (contain other inline tags and special tags) = -->
 <!-- ================================================ -->
 <!-- Annotations -->
-<xsl:template match="pa|pe|pr|pt" mode="inline" />
+<xsl:template match="pa|pe|pr|pt|ptrad" mode="inline" />
 
 <!-- Other inline tags -->
 <xsl:template match="mat" mode="inline"><xsl:apply-templates mode="inline" /></xsl:template>