public function addDefaultNamespace($xmlns, $namespace) { $this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns; }