metatools/sysdeftools/lib/joinsysdef-module.xsl
changeset 660 66ff3e731c60
parent 639 0e65f93be3cb
child 661 199bb033aacf
--- a/metatools/sysdeftools/lib/joinsysdef-module.xsl	Mon Oct 18 10:23:52 2010 +0100
+++ b/metatools/sysdeftools/lib/joinsysdef-module.xsl	Mon Oct 18 10:33:54 2010 +0100
@@ -136,7 +136,8 @@
 	<xsl:variable name="linked" select="document(@href,.)/*"/>
 	<xsl:for-each select="$linked">
 		<xsl:apply-templates select="//*[(self::component or self::collection or self::package or self::layer) and @href]" mode="scan-for-namespaces"/>
-		<xsl:for-each select="//namespace::* | @id-namespace">
+		<xsl:for-each select="//namespace::*[.!='http://www.w3.org/XML/1998/namespace'] | @id-namespace">
+			<!-- ignore XML namespace -->
 			<xsl:value-of select="concat(name(),' ',.,'&#xa;')"/>
 		</xsl:for-each>
 	</xsl:for-each>