code: def setProp(self, name, value):
          
          ret = libxml2mod.xmlSetProp(self._o, name, value)
          if ret is None:raise treeError('xmlSetProp() failed')
          __tmp = xmlAttr(_obj=ret)
          return __tmp
docs: Set (or reset) an attribute carried by a node. If @name has
            a prefix, then the corresponding namespace-binding will be
            used, if in scope; it is an error it there's no such
             ns-binding for the prefix in scope.