public function readXmlString()
    {
        $xmlReference = $this->readInteger();
        $length = $xmlReference >> 1;
        $string = $this->_stream->readBytes($length);
        return simplexml_load_string($string);
    }
public function readXmlString()
    {
        $xmlReference = $this->readInteger();
        $length = $xmlReference >> 1;
        $string = $this->_stream->readBytes($length);
        return simplexml_load_string($string);
    }
public function readXmlString ( ) { $ xmlReference = $ this -> readInteger ( ) ; $ length = $ xmlReference >> 1 ; $ string = $ this -> _stream -> readBytes ( $ length ) ; return simplexml_load_string ( $ string ) ; }
Convert XML to SimpleXml
If user wants DomDocument they can use dom_import_simplexml

@return SimpleXml Object
Convert XML to SimpleXml If user wants DomDocument they can use dom_import_simplexml