Changed predicate for 500 subfields.
authorSebastian Hammer <quinn@indexdata.com>
Tue, 18 Nov 2008 18:47:45 +0000 (18:47 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 20 Nov 2008 14:26:28 +0000 (15:26 +0100)
etc/marc21.xsl

index 347d801..469f803 100644 (file)
        </pz:metadata>
       </xsl:for-each>
 
-      <xsl:for-each select="marc:datafield[@tag &gt;= 500 and @tag &lt;= 599]
-                           [@tag != '506' and @tag != '530' and
-                           @tag != '540' and @tag != '546'
-                            and @tag != '522']">
+      <xsl:for-each select="marc:datafield[@tag = '500' or @tag = '505' or
+               @tag = '518' or @tag = '520' or @tag = '522']">
        <pz:metadata type="description">
             <xsl:value-of select="*/text()"/>
         </pz:metadata>