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

Subject: Re: [xsl] Why doesn't exclude-result-prefixes rid me of xmlns=""?
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Tue, 13 Apr 2004 10:36:41 +0200
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

Current Thread