def xpathNextFollowingSibling(self, cur):
        """Traversal function for the "following-sibling" direction
          The following-sibling axis contains the following siblings
           of the context node in document order. """
        if cur is None: cur__o = None
        else: cur__o = cur._o
        ret = libxml2mod.xmlXPathNextFollowingSibling(self._o, cur__o)
        if ret is None:raise xpathError('xmlXPathNextFollowingSibling() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp