Add MARC field 876$f to tmarc.xsl, named "loan-period", #4411
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 8 Jul 2011 16:11:49 +0000 (18:11 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 8 Jul 2011 16:11:49 +0000 (18:11 +0200)
etc/tmarc.xsl

index 822e65d..10f10b2 100644 (file)
         </xsl:if>
       </xsl:for-each>
 
+      <xsl:for-each select="tmarc:d876">
+        <xsl:if test="tmarc:sf">
+          <pz:metadata type="loan-period">
+            <xsl:value-of select="tmarc:sf" />
+          </pz:metadata>
+        </xsl:if>
+      </xsl:for-each>
+
       <pz:metadata type="medium">
         <xsl:value-of select="$vmedium" />
        <xsl:if test="string-length($electronic) and $vmedium != 'electronic'">