You are reporting the paste Use simplexml_load_file() to read XML data from a file.