This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Namespace attribute passed to root element
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Namespace attribute passed to root element
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 11 May 2000 13:53:05 +0100
- Reply-To: xsl-list at mulberrytech dot com
> The XML result document looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <foo xmlns:go="http:/go">
> ...
> </foo>
>
> Why is this namespace attribute automatically passed to the
> root element of my result document?
because the spec says it should be, unless you request otherwise.
> How can I stop this from happening?
by setting xsl:exclude-result-prefix="foo".
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list