This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Namespace attribute passed to root element


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]