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);
    }