Bug 31581: Remove zebra files for NORMARC

Those are leftovers, we should have removed them on bug 18984.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Looks good!
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-10-22 10:02:56 +02:00 committed by Katrin Fischer
parent 1a8542f05d
commit 8e5774cdfe
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
3 changed files with 0 additions and 2951 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +0,0 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim"
version="1.0">
<xsl:output indent="yes"
method="xml"
version="1.0"
encoding="UTF-8"/>
<xsl:template name="identity" match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="marc:datafield[@tag=880]">
<xsl:element name="datafield" namespace="http://www.loc.gov/MARC21/slim">
<xsl:attribute name="tag"><xsl:value-of select="substring(marc:subfield[@code=6],1,3)"/></xsl:attribute>
<xsl:attribute name="ind1"><xsl:value-of select="@ind1"/></xsl:attribute>
<xsl:attribute name="ind2"><xsl:value-of select="@ind2"/></xsl:attribute>
<xsl:apply-templates select="marc:subfield[@code != '6']"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>