summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--convert.xsl15
1 files changed, 14 insertions, 1 deletions
diff --git a/convert.xsl b/convert.xsl
index 3a8eb7d..3fe6be5 100644
--- a/convert.xsl
+++ b/convert.xsl
@@ -101,7 +101,20 @@
</vers>
</xsl:template>
- <xsl:template match="*" mode="conv"/>
+ <xsl:template match="div[@class='annotation']" mode="conv"/>
+ <xsl:template match="div[@class='lineBreak']" mode="conv"/>
+ <xsl:template match="br|em" mode="conv"/>
+ <xsl:template match="p" mode="conv"/>
+
+ <xsl:template match="*" mode="conv">
+ <xsl:message terminate="no">
+ <xsl:text>Unhandled tag </xsl:text>
+ <xsl:value-of select="local-name()" />
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="@*" />
+ <xsl:value-of select="." />
+ </xsl:message>
+ </xsl:template>
<xsl:template match="/">
<chapter cnumber="{//span[@class='chapter']}">