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: Michael Terry <formido@xxxxxxx>
Date: Tue, 13 Apr 2004 15:06:11 -0700
On Apr 13, 2004, at 1:41 AM, Michael Kay wrote:

You have created an <html> element in the "http://www.w3.org/1999/xhtml";
namespace, and within it you have created a <div> element that is in no
namespace. The xmlns="" is generated in order to ensure that the <div>
element is in no namespace, which is what you requested. If you want the
<div> element to be in the XHTML namespace, you need to ensure that the
<div> element in the stylesheet has an xmlns="http://www.w3.org/1999/xhtml";
declaration in scope.



OK. Thanks Jeff, Julian, and Michael. I was able to fix it based on your advice.


Mike

Current Thread