Traversal function for the "self" direction The self axis
           contains just the context node itself

def xpathNextSelf(self, cur):
        """Traversal function for the "self" direction The self axis
           contains just the context node itself """
        if cur is None: cur__o = None
        else: cur__o = cur._o
        ret = libxml2mod.xmlXPathNextSelf(self._o, cur__o)
        if ret is None:raise xpathError('xmlXPathNextSelf() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp