RE: [xsl] pesky xmlns attributes

Subject: RE: [xsl] pesky xmlns attributes
From: Eddy McCarthy <EMcCarthy@xxxxxxxxxxxxxxxxx>
Date: Thu, 2 Oct 2003 09:47:58 +0100
Yeah I've noticed this as well, basically it's caused by redundant namespace

---------------------- Example A -------------------

--------------------- Example B ----------------------

Using the namespace declaration in example 'A' you will get those pesky
xmlns attributes. The solution is to only use a single namespace declaration
as in example 'B'


-----Original Message-----
From: Mattison [mailto:peacock@xxxxxxxxx] 
Sent: 01 October 2003 16:44
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] pesky xmlns attributes

I've noticed occassionally when I look at generated html I see an xmlns
attributes in odd tags.  I've seen it everywhere from table, select, to br
tags.  It isn't a huge problem as the tag doesn't affect how the html
displays.  But anytime I have an attribute somewhere I don't intend it to be
it makes me a bit nervous that there is something more fundamental under the
surface I'm missing.

Anyone have any clues they can share with this odd behavior.  I'm using
MSXML2.DOMDocument.4.0 to do my transformations.

+      Mattison Narramore                  peacock@xxxxxxxxx      +
+ The most likely way for the world to be destroyed, most experts + 
+ agree, is by accident. That's where we come in; we're computer  +
+ professionals. We cause accidents.                              +
+                   -Nathaniel Borenstein                         +

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread