Adds 'available' to holdings information
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 28 Apr 2010 22:06:40 +0000 (15:06 -0700)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 28 Apr 2010 22:06:40 +0000 (15:06 -0700)
etc/opac.xsl

index 617a18b..6fe5ecd 100644 (file)
          <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
        </xsl:choose>
       </pz:metadata>
+      <pz:metadata type="available">
+        <xsl:choose>
+          <xsl:when test="string-length(available)">
+            <xsl:value-of select="available"/>
+          </xsl:when>
+          <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+        </xsl:choose>
+      </pz:metadata>
       <pz:metadata type="publicnote">
         <xsl:choose>
          <xsl:when test="publicNote">