public function getXMLContent()
    {
        if ($this->xmlContent === null) {
            try {
                if (($content = $this->content) === '') {
                    return $this->xmlContent = false;
                }

                $errors = libxml_use_internal_errors(true);
                $this->xmlContent = new SimpleXMLElement($content);
                libxml_use_internal_errors($errors);
            } catch (Exception $exception) {
                return $this->xmlContent = false;
            }
        }

        return $this->xmlContent;
    }
public function getXMLContent()
    {
        if ($this->xmlContent === null) {
            try {
                if (($content = $this->content) === '') {
                    return $this->xmlContent = false;
                }

                $errors = libxml_use_internal_errors(true);
                $this->xmlContent = new SimpleXMLElement($content);
                libxml_use_internal_errors($errors);
            } catch (Exception $exception) {
                return $this->xmlContent = false;
            }
        }

        return $this->xmlContent;
    }
public function getXMLContent ( ) { if ( $ this -> xmlContent === null ) { try { if ( ( $ content = $ this -> content ) === '' ) { return $ this -> xmlContent = false ; } $ errors = libxml_use_internal_errors ( true ) ; $ this -> xmlContent = new SimpleXMLElement ( $ content ) ; libxml_use_internal_errors ( $ errors ) ; } catch ( Exception $ exception ) { return $ this -> xmlContent = false ; } } return $ this -> xmlContent ; }
Get the content as XML.

@return SimpleXMLElement|false
Get the content as XML .