Add template for collection element.
authorDennis Schafroth <dennis@indexdata.com>
Wed, 4 Aug 2010 20:39:23 +0000 (22:39 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 4 Aug 2010 20:39:23 +0000 (22:39 +0200)
test/tmarc.xsl

index a94131d..0dc7b20 100644 (file)
       <xsl:apply-templates />
   </xsl:template>
 
+  <xsl:template match="tmarc:collection">
+    <collection>
+      <xsl:apply-templates />
+    </collection>
+  </xsl:template>
+
   <xsl:template match="tmarc:r">
     <xsl:variable name="title_medium" select="tmarc:d245/tmarc:sh" />
     <xsl:variable name="journal_title" select="tmarc:d773/tmarc:st" />