Get the xml working