Xml nearly working