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