parameters: (self, ctxt)
return_statement: return __tmp
docstring: Traversal function for the "self" direction The self axis
             contains just the context node itself
docstring_summary: Traversal function for the "self" direction The self axis
             contains just the context node itself
docstring_tokens: Traversal function for the self direction The self axis contains just the context node itself
function: def xpathNextSelf(self, ctxt):
          """Traversal function for the "self" direction The self axis
             contains just the context node itself """
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlXPathNextSelf(ctxt__o, self._o)
          if ret is None:raise xpathError('xmlXPathNextSelf() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
function_tokens: def xpathNextSelf ( self , ctxt ) : if ctxt is None : ctxt__o = None else : ctxt__o = ctxt . _o ret = libxml2mod . xmlXPathNextSelf ( ctxt__o , self . _o ) if ret is None : raise xpathError ( 'xmlXPathNextSelf() failed' ) __tmp = xmlNode ( _obj = ret ) return __tmp