/** * Génération du xml * * @return CXDSXmlDocument */ function toXML() { $xml = new CXDSXmlDocument(); $xml->createNameDescriptionRoot($this->name); $xml->importDOMDocument($xml->documentElement, $this->value->toXML()); return $xml; }
/** * Génération du xml * * @return CXDSXmlDocument */ function toXML() { $xml = new CXDSXmlDocument(); $xml->createNameDescriptionRoot($this->name); $xml->importDOMDocument($xml->documentElement, $this->value->toXML()); return $xml; }