src/Genesis/Parsers/XML.php
public function parseDocument($xmlDocument)
    {
        $reader = new \XMLReader();
        $reader->open('data:text/plain;base64,' . base64_encode($xmlDocument));

        if ($this->skipRootNode) {
            $reader->read();
        }

        $this->stdClassObj = self::readerLoop($reader);
    }
public function parseDocument($xmlDocument)
    {
        $reader = new \XMLReader();
        $reader->open('data:text/plain;base64,' . base64_encode($xmlDocument));

        if ($this->skipRootNode) {
            $reader->read();
        }

        $this->stdClassObj = self::readerLoop($reader);
    }
public function parseDocument ( $ xmlDocument ) { $ reader = new \ XMLReader ( ) ; $ reader -> open ( 'data:text/plain;base64,' . base64_encode ( $ xmlDocument ) ) ; if ( $ this -> skipRootNode ) { $ reader -> read ( ) ; } $ this -> stdClassObj = self :: readerLoop ( $ reader ) ; }
Parse a document to an stdClass

@param string $xmlDocument XML Document

@return void
Parse a document to an stdClass