code: def xpathEval(self, str):
          
          ret = libxml2mod.xmlXPathEval(str, self._o)
          if ret is None:raise xpathError('xmlXPathEval() failed')
          return xpathObjectRet(ret)
docs: Evaluate the XPath Location Path in the given context.