1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim"
3 <xsl:output indent="yes"
8 <xsl:template name="identity" match="node()|@*">
10 <xsl:apply-templates select="@*|node()"/>
14 <xsl:template match="marc:datafield[@tag=880]">
15 <xsl:element name="datafield" namespace="http://www.loc.gov/MARC21/slim">
16 <xsl:attribute name="tag"><xsl:value-of select="substring(marc:subfield[@code=6],1,3)"/></xsl:attribute>
17 <xsl:attribute name="ind1"><xsl:value-of select="@ind1"/></xsl:attribute>
18 <xsl:attribute name="ind2"><xsl:value-of select="@ind2"/></xsl:attribute>
19 <xsl:apply-templates select="marc:subfield[@code != '6']"/>