$xml .= 'id="tag:open-ils.org:asset-call_number/' . $self->obj->id . '" ';
$xml .= 'lib="' . $self->escape( $self->obj->owning_lib->shortname ) . '" ';
$xml .= 'opac_visible="' . $self->obj->owning_lib->opac_visible . '" ';
+ $xml .= 'deleted="' . $self->obj->deleted . '" ';
$xml .= 'label="' . $self->escape( $self->obj->label ) . '">';
$xml .= "\n";
<xsl:apply-templates select="hold:volume/hold:uris/hold:uri"/>
</ul>
</xsl:if>
- <xsl:if test="count(hold:volume/hold:copies/hold:copy) > 0">
+ <xsl:if test="count(hold:volume[deleted='f']/hold:copies/hold:copy[deleted='f']) > 0">
<u>Holdings</u>
<ul>
- <xsl:apply-templates select="hold:volume">
+ <xsl:apply-templates select="hold:volume[deleted='f']">
<xsl:sort select="@lib"/>
</xsl:apply-templates>
</ul>
</xsl:if>
</xsl:template>
- <xsl:template match="hold:volume">
+ <xsl:template match="hold:volume[deleted='f']">
<li>
<b>
<a>
<xsl:template match="hold:copies">
<ul>
- <xsl:apply-templates select="hold:copy">
+ <xsl:apply-templates select="hold:copy[deleted='f']">
<xsl:sort select="hold:location"/>
</xsl:apply-templates>
</ul>
</xsl:template>
- <xsl:template match="hold:copy">
+ <xsl:template match="hold:copy[deleted='f']">
<li> <xsl:value-of select="@barcode"/> <abbr class="unapi-id"><xsl:attribute name="title"><xsl:value-of select="@id"/></xsl:attribute></abbr>
<ul>
<li>Circulating from <b><xsl:value-of select="hold:circlib"/></b></li>