replaced simplexml_load_file by file_get_contents + simplexml_load_string