
 Marcus Vinícius - 2005-09-09 08:22:13 - 
In reply to message 1 from Ivo Petersreplace these lines
$xml_value['value'] = trim($xml_value['value']);
$xml_value['value'] = htmlspecialchars($xml_value['value'], ENT_QUOTES);
$xml_value['value'] = str_replace("\r", "
", $xml_value['value']);
$xml_value['value'] = str_replace("\n", "
", $xml_value['value']);
by this
if (isset($xml_value['value'])) {
    $xml_value['value'] = trim($xml_value['value']);
    $xml_value['value'] = htmlspecialchars($xml_value['value'], ENT_QUOTES);
    $xml_value['value'] = str_replace("\r", "
", $xml_value['value']);
    $xml_value['value'] = str_replace("\n", "
", $xml_value['value']);
}