Description

Section 7.1.1 of XSLT 1.0 states that "The designation of a namespace as an excluded namespace is effective within the subtree of the stylesheet rooted at the element bearing the exclude-result-prefixes or xsl:exclude-result-prefixes attribute; a subtree rooted at an xsl:stylesheet element does not include any stylesheets imported or included by children of that xsl:stylesheet element."

However, XSLTC accumulates the declarations of exclude-result-prefixes in each included or imported stylesheet module into the set of excluded namespaces for the main stylesheet module.