> Because if there is a default namespace, don't all elements that are not > assigned a namespace then put in the default namespace?
I can see your point and that's sort-of how it works in an XML document however this same mechanism doesn't work for dom4j. When creating nodes, you have to specifically specify the namespace, otherwise the element will not be defined in any namespace. Maybe the way you expected it to work should however be considered for a future version, since this would be more in-line with the way XML behaves? Regards, Edwin -- http://www.edankert.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user