Re: exclude-result-prefixes

Subject: Re: exclude-result-prefixes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 8 Mar 2000 10:23:45 GMT
> I can tell xt not to bother making the output namespace
> sensitive by using exclude-result-prefixes?

No, the output (in the XML method) will always be namespace sensitive
(ie generate the specified result tree if parsed by a namespace aware
parser)

What it won't do is put xmlns:xxx declarations on the output that are
not used. If you actually use that namespace and have declared that
namespace in  exclude-result-prefixes then the spec isn't exactly clear
what is supposed to happen, but the implication is (since that's what
happens for elements in the xsl namespace) that it isn't an error
and the declaration _does_ appear.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread