$_document
$_document : \DOMDocument
The XML parser.
Handles parsing the provided XML input.
Copyright 2007-2009 Klarälvdalens Datakonsult AB Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
parse(string $input, array $options = array()) : \DOMDocument
Load an object based on the given XML string.
string | $input | The XML of the message as string. |
array | $options | Additional options when parsing the XML. - relaxed: Relaxed error checking (default: false) |
If parsing the XML data failed.
The DOM document.
_parseXml(string $input, array $options = array()) : \DOMDocument
Parse the XML string. The root node is returned on success.
string | $input | The XML of the message as string. |
array | $options | Additional options when parsing the XML. |
If parsing the XML data failed.
The DOM document.