https://www.php-resource.de/forum/php-developer-forum/78246-errorhandling-bei-simplexml