Finally have the xml working, hopefully