Preventing the insertion of the xmlns attribute when creating an XML element

Preventing the insertion of the xmlns attribute when creating an XML element

It appears that whenever I create an XML element the xmlns attribute is inserted. This is causing problems when I find content. The following code is an example:

var oElement = $('<ele/>');

The resulting XML structure produced appears as follows:

<ele xmlns = "http://www.w3.org/1999/xhtml"></ele>

In this case ele is not an html element but an explicit XML node. Because it is not an html element the find() operator fails to return the node when for example the statement is like:

$(oElement).find('ele');

Is there anyway to avoid having the xmlns namespace attribute entered as part of a non-html element when it is created?