XmlWriter : Almost finished -> some bugs to fix