Attribute: exclude-result-prefixes
(of element
<stylesheet>)
Standard excerpt:
A namespace URI is designated as an excluded namespace by using an exclude-result-prefixes attribute on an xsl:stylesheet
element or an xsl:exclude-result-prefixes attribute on a literal result element. The value of both these attributes is a whitespace-separated
list of namespace prefixes. The namespace bound to each of the prefixes is designated as an excluded namespace. It is an error
if there is no namespace bound to the prefix on the element bearing the exclude-result-prefixes or xsl:exclude-result-prefixes
attribute. The default namespace (as declared by xmlns) may be designated as an excluded namespace by including #default in
the list of namespace prefixes. 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.
Examples (xslt:xml):