def xpathNextAttribute(self, cur):
        """Traversal function for the "attribute" direction TODO:
           support DTD inherited default attributes """
        if cur is None: cur__o = None
        else: cur__o = cur._o
        ret = libxml2mod.xmlXPathNextAttribute(self._o, cur__o)
        if ret is None:raise xpathError('xmlXPathNextAttribute() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp
Traversal function for the "attribute" direction TODO:
           support DTD inherited default attributes