xsl-list
[Top] [All Lists]

Re: Why doesn't exclude-result-prefixes rid me of xmlns=""?

2004-04-13 01:36:41
Michael Terry wrote:

Hi,

After searching Google, I figured out how to exclude-result-prefixes, but I'm still getting an unwanted 'xmlns=""' in one of my outputted divs. Can someone tell me why?
> ...

exclude-result-prefixes only excluses namespace declarations that aren't needed. In your case they are, because the "div" elements are in no namespace (rather than the XHTML namespace).

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760