Improved namespace handling for TreeXMLConverter