code: def copyNamespace(self):
          
          ret = libxml2mod.xmlCopyNamespace(self._o)
          if ret is None:raise treeError('xmlCopyNamespace() failed')
          __tmp = xmlNs(_obj=ret)
          return __tmp
docs: Do a copy of the namespace.