On Jul 30, 5:26 am, Ricardo <ricardob...@gmail.com> wrote: > $('body').append( $('<p/>').text('hello') );
I'm noticing that the element created with $('<p/>') has the xhtml namespace when created in a document served as application/xhtml+xml but has no namespace when the document is served as application/xml, how do I explicitly set the namespaceURI?