You are reporting the paste Use simplexml_load_string() to read XML data from a string.