Add test for custom attribute (description@tag)
[pazpar2-moved-to-github.git] / test / marc21.xsl
index 29e1d24..8c8fcfb 100644 (file)
                            [@tag != '506' and @tag != '530' and
                            @tag != '540' and @tag != '546'
                             and @tag != '522']">
-       <pz:metadata type="description">
+        <!-- The tag attribute below will be preserved -->
+       <pz:metadata type="description" tag="{@tag}">
             <xsl:value-of select="*/text()"/>
         </pz:metadata>
       </xsl:for-each>