Updated  XmlSaver

Now works properly