public function loadXml($xml, $options = null)
    {
        return $this->load($xml, false, Document::TYPE_XML, $options);
    }
public function loadXml($xml, $options = null)
    {
        return $this->load($xml, false, Document::TYPE_XML, $options);
    }
public function loadXml ( $ xml , $ options = null ) { return $ this -> load ( $ xml , false , Document :: TYPE_XML , $ options ) ; }
Load XML from a string.

@param string   $xml     The XML string
@param int|null $options Additional parameters

@return \DiDom\Document

@throws \InvalidArgumentException if the provided argument is not a string
Load XML from a string .