def xpathRegisterVariable(self, name, ns_uri, value):
        """Register a variable with the XPath context """
        ret = libxml2mod.xmlXPathRegisterVariable(self._o, name, ns_uri, value)
        return ret