Código:
Que tengo que cambiar para evitar el "die" y el texto de error si no se abre el archivo XML y sustituirlo por un if (!($fp = fopen($file, "r"))) { die("could not open XML input"); } while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } }
include ("otro_archivo.php")