> 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. You don't say how the soini namespace is defined.