Commits

btingle committed e5412be

fixed bugs reported by Joyce Ouchida, now will work with the test file
(which someone had removed the EAD namespace from) and it should also
work with output from AT that still has the
xmlns:ead="urn:isbn:1-931666-22-9" business (but I don't have a sample
to test this with)

Comments (0)

Files changed (1)

     </xsl:copy>
 </xsl:template>
 
-<xsl:template match="container[@label]">
-  <xsl:copy copy-namespaces="yes">
-    <xsl:apply-templates select="@*[not(name()='label')]|node()"/>
-  </xsl:copy>
-</xsl:template>
+<xsl:template match="@label[local-name(..)='container']"/>
 
 <!-- identity -->
 <xsl:template match="@*|node()">
-  <xsl:copy copy-namespaces="yes">
+  <xsl:copy>
     <xsl:apply-templates select="@*|node()"/>
   </xsl:copy>
 </xsl:template>