MS XML file

How can i create project Xml File and then read it back for some new tasks addition?