equal
deleted
inserted
replaced
126 <xsl:template match="*[@href and not(self::meta)]" mode="scan-for-namespaces"> |
126 <xsl:template match="*[@href and not(self::meta)]" mode="scan-for-namespaces"> |
127 <!-- produce a list of namespace-prefix namespace pairs separated by newlines, in reverse order found in documents |
127 <!-- produce a list of namespace-prefix namespace pairs separated by newlines, in reverse order found in documents |
128 reverse order so we can try to use the first namespace prefix defined if it's available--> |
128 reverse order so we can try to use the first namespace prefix defined if it's available--> |
129 <xsl:for-each select="document(@href,.)/*"> |
129 <xsl:for-each select="document(@href,.)/*"> |
130 <xsl:apply-templates select="//*[(self::component or self::collection or self::package or self::layer) and @href]" mode="scan-for-namespaces"/> |
130 <xsl:apply-templates select="//*[(self::component or self::collection or self::package or self::layer) and @href]" mode="scan-for-namespaces"/> |
131 <xsl:for-each select="//namespace::* | @id-namespace"> |
131 <xsl:for-each select="//namespace::*[.!='http://www.w3.org/XML/1998/namespace'] | @id-namespace"> |
|
132 <!-- ignore XML namespace --> |
132 <xsl:value-of select="concat(name(),' ',.,'
')"/> |
133 <xsl:value-of select="concat(name(),' ',.,'
')"/> |
133 </xsl:for-each> |
134 </xsl:for-each> |
134 </xsl:for-each> |
135 </xsl:for-each> |
135 </xsl:template> |
136 </xsl:template> |
136 |
137 |