correct XPath attribute test syntax
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 23 Jan 2011 00:04:35 +0000 (00:04 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 23 Jan 2011 00:04:35 +0000 (00:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19260 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xsl/MARC21slim2HTMLCard-holdings.xsl

index 2b657af..d87736c 100644 (file)
           <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']) &gt; 0">
+    <xsl:if test="count(hold:volume[@deleted='f']/hold:copies/hold:copy[@deleted='f']) &gt; 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>
 
   <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>