public function createXmlParser() { return new Horde_Kolab_Format_Xml_Parser(new DOMDocument('1.0', 'UTF-8')); }
/** * Fetch the XML parser. * * @return Horde_Kolab_Format_Xml_Parser The parser. */ private function _getParser() { if ($this->_parser === null) { $this->_parser = $this->_factory->createXmlParser(); } return $this->_parser; }