More fields
authorSebastian Hammer <quinn@indexdata.com>
Thu, 20 Aug 2009 22:25:23 +0000 (22:25 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Thu, 20 Aug 2009 22:25:23 +0000 (22:25 +0000)
etc/marc22.xsl

index 093c690..0e411aa 100644 (file)
@@ -92,7 +92,7 @@
     </pz:metadata>
   </xsl:template>
   
-  <xsl:template match="marc:datafield[@tag='100']">
+  <xsl:template match="marc:datafield[@tag='100' or @tag='700']">
     <pz:metadata type="author">
       <xsl:value-of select="marc:subfield[@code='a']"/>
     </pz:metadata>
     </pz:metadata>
   </xsl:template>
 
+  <xsl:template match="marc:datafield[@tag='110']">
+    <pz:metadata type="corporate-name">
+      <xsl:value-of select="marc:subfield[@code='a']"/>
+    </pz:metadata>
+    <pz:metadata type="corporate-location">
+      <xsl:value-of select="marc:subfield[@code='c']"/>
+    </pz:metadata>
+    <pz:metadata type="corporate-date">
+      <xsl:value-of select="marc:subfield[@code='d']"/>
+    </pz:metadata>
+  </xsl:template>
+
+  <xsl:template match="marc:datafield[@tag='111']">
+    <pz:metadata type="meeting-name">
+      <xsl:value-of select="marc:subfield[@code='a']"/>
+    </pz:metadata>
+    <pz:metadata type="meeting-location">
+      <xsl:value-of select="marc:subfield[@code='c']"/>
+    </pz:metadata>
+    <pz:metadata type="meeting-date">
+      <xsl:value-of select="marc:subfield[@code='d']"/>
+    </pz:metadata>
+  </xsl:template>
+
   <xsl:template match="text()"/>
 
 </xsl:stylesheet>