This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: exclude-result-prefixes Editors please note:
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: exclude-result-prefixes Editors please note:
- From: "Pawson, David" <DPawson at rnib dot org dot uk>
- Date: Wed, 8 Mar 2000 13:01:04 -0000
- Reply-To: xsl-list at mulberrytech dot com
David Carlisle said:
>> 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.
? What do you mean 'use'? please.
As in
<xsl:copy>
something with a ns prefix
</xsl:copy>
I.e. If I add something to the output tree that uses namespaces,
then it should put xmlns:xxx declarations on the output?
Concerned that the spec is clear here.
Regards, DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list