Convert the XML