Added additional elemements to the stylesheets.
authorJakub Skoczen <jakub@indexdata.dk>
Thu, 4 Sep 2008 16:32:22 +0000 (18:32 +0200)
committerJakub Skoczen <jakub@indexdata.dk>
Thu, 4 Sep 2008 16:32:22 +0000 (18:32 +0200)
etc/marc21.xsl
etc/oai_dc.xsl

index 29e01d1..347d801 100644 (file)
         </pz:metadata>
       </xsl:for-each>
 
-
       <xsl:if test="$open_url_resolver">
         <pz:metadata type="open-url">
             <xsl:call-template name="insert-md-openurl" />
         </pz:metadata>
       </xsl:if>
 
-    </pz:record>
-
+    </pz:record>    
   </xsl:template>
+  
+  <xsl:template match="text()"/>
 
 </xsl:stylesheet>
index 1b37a92..25aebb5 100644 (file)
        </pz:metadata>
       </xsl:for-each>
 
+      <xsl:for-each select="dc:identifier">
+        <pz:metadata type="electronic-url">
+         <xsl:value-of select="."/>
+       </pz:metadata>
+      </xsl:for-each>
+
+      <xsl:for-each select="dc:type">
+        <pz:metadata type="medium">
+         <xsl:value-of select="."/>
+       </pz:metadata>
+      </xsl:for-each>
+
+
     </pz:record>
   </xsl:template>