private function addSidnExtension($period) { $renew = $this->getCommand()->getElementsByTagName('domain:renew')->item(0); $period = $this->createElement('domain:period', $period); $period->setAttribute("unit", "m"); $renew->appendChild($period); }