when i am using addcontent to add elements in tree like. Element SOINIFileLocation=new Element("SOINIFileLocation", soini); CYAHOTBackUp.addContent(SOINIFileLocation); it displaying xmlns in xml document. Renu Gulati