[open-ils-commits] r19260 - trunk/Open-ILS/xsl (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Jan 22 19:04:35 EST 2011
Author: miker
Date: 2011-01-22 19:04:35 -0500 (Sat, 22 Jan 2011)
New Revision: 19260
Modified:
trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl
Log:
correct XPath attribute test syntax
Modified: trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl
===================================================================
--- trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl 2011-01-22 05:49:43 UTC (rev 19259)
+++ trunk/Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl 2011-01-23 00:04:35 UTC (rev 19260)
@@ -77,17 +77,17 @@
<xsl:apply-templates select="hold:volume/hold:uris/hold:uri"/>
</ul>
</xsl:if>
- <xsl:if test="count(hold:volume[deleted='f']/hold:copies/hold:copy[deleted='f']) > 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[deleted='f']">
+ <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[deleted='f']">
+ <xsl:template match="hold:volume[@deleted='f']">
<li>
<b>
<a>
@@ -121,13 +121,13 @@
<xsl:template match="hold:copies">
<ul>
- <xsl:apply-templates select="hold:copy[deleted='f']">
+ <xsl:apply-templates select="hold:copy[@deleted='f']">
<xsl:sort select="hold:location"/>
</xsl:apply-templates>
</ul>
</xsl:template>
- <xsl:template match="hold:copy[deleted='f']">
+ <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>
More information about the open-ils-commits
mailing list