protected function getXMLReader() { if (!$this->xml) { $this->xml = $this->createXMLReader(); } return $this->xml; }