public function add_data($content) { $this->_xml->startElement('data'); $this->_xml->writeCData($content); $this->_xml->endElement(); }