Adds medium parameter to dc stylesheet
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Thu, 21 Oct 2010 19:39:50 +0000 (21:39 +0200)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Thu, 21 Oct 2010 19:39:50 +0000 (21:39 +0200)
etc/dc.xsl

index f212bac..d9ae36d 100644 (file)
@@ -15,6 +15,8 @@
         version="1.0"
         encoding="UTF-8"/>
 
+  <xsl:param name="medium" />
+
   <xsl:template match="/*">
     <pz:record>
 
         </pz:metadata>
       </xsl:for-each>
 
+      <pz:metadata type="medium">
+        <xsl:value-of select="$medium" />
+      </pz:metadata>
+
     </pz:record>
   </xsl:template>