Subject: RE: Namespace attribute passed to root element
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 11 May 2000 13:53:05 +0100
|
> 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
|