+ <xsl:template match="item">
+ <pz:metadata type="locallocation">
+ <xsl:choose>
+ <xsl:when test="string-length(location)">
+ <xsl:value-of select="location"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>
+ <pz:metadata type="callnumber">
+ <xsl:choose>
+ <xsl:when test="string-length(callno)">
+ <xsl:value-of select="callno"/>
+ </xsl:when>
+ <xsl:otherwise>PAZPAR2_NULL_VALUE</xsl:otherwise>
+ </xsl:choose>
+ </pz:metadata>