parameters: (self, node, name, value)
return_statement: return __tmp
docstring: Set (or reset) an attribute carried by a node. The ns
             structure must be in scope, this is not checked
docstring_summary: Set (or reset) an attribute carried by a node. The ns
             structure must be in scope, this is not checked
docstring_tokens: Set ( or reset ) an attribute carried by a node . The ns structure must be in scope this is not checked
function: def setNsProp(self, node, name, value):
          """Set (or reset) an attribute carried by a node. The ns
             structure must be in scope, this is not checked """
          if node is None: node__o = None
          else: node__o = node._o
          ret = libxml2mod.xmlSetNsProp(node__o, self._o, name, value)
          if ret is None:raise treeError('xmlSetNsProp() failed')
          __tmp = xmlAttr(_obj=ret)
          return __tmp
function_tokens: def setNsProp ( self , node , name , value ) : if node is None : node__o = None else : node__o = node . _o ret = libxml2mod . xmlSetNsProp ( node__o , self . _o , name , value ) if ret is None : raise treeError ( 'xmlSetNsProp() failed' ) __tmp = xmlAttr ( _obj = ret ) return __tmp