parameters: (self, ctxt)
return_statement: return __tmp
docstring: Traversal function for the "descendant-or-self" direction
            the descendant-or-self axis contains the context node and
            the descendants of the context node in document order; thus
            the context node is the first node on the axis, and the
            first child of the context node is the second node on the
             axis
docstring_summary: Traversal function for the "descendant-or-self" direction
            the descendant-or-self axis contains the context node and
            the descendants of the context node in document order; thus
            the context node is the first node on the axis, and the
            first child of the context node is the second node on the
             axis
docstring_tokens: Traversal function for the descendant - or - self direction the descendant - or - self axis contains the context node and the descendants of the context node in document order ; thus the context node is the first node on the axis and the first child of the context node is the second node on the axis
function: def xpathNextDescendantOrSelf(self, ctxt):
          """Traversal function for the "descendant-or-self" direction
            the descendant-or-self axis contains the context node and
            the descendants of the context node in document order; thus
            the context node is the first node on the axis, and the
            first child of the context node is the second node on the
             axis """
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlXPathNextDescendantOrSelf(ctxt__o, self._o)
          if ret is None:raise xpathError('xmlXPathNextDescendantOrSelf() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
function_tokens: def xpathNextDescendantOrSelf ( self , ctxt ) : if ctxt is None : ctxt__o = None else : ctxt__o = ctxt . _o ret = libxml2mod . xmlXPathNextDescendantOrSelf ( ctxt__o , self . _o ) if ret is None : raise xpathError ( 'xmlXPathNextDescendantOrSelf() failed' ) __tmp = xmlNode ( _obj = ret ) return __tmp