/** * Sets the XML data * * @param string $data XML-file or XML-data * @return Recipe_Language_XML_Importer */ public function setData($data) { $this->xml = new XML($data); $this->xml = $this->xml->get(); return $this; }