code: def newNsProp(self, ns, name, value):
          
          if ns is None: ns__o = None
          else: ns__o = ns._o
          ret = libxml2mod.xmlNewNsProp(self._o, ns__o, name, value)
          if ret is None:raise treeError('xmlNewNsProp() failed')
          __tmp = xmlAttr(_obj=ret)
          return __tmp
docs: Create a new property tagged with a namespace and carried
             by a node.