def xpathNewContext(self):
        """Create a new xmlXPathContext """
        ret = libxml2mod.xmlXPathNewContext(self._o)
        if ret is None:raise xpathError('xmlXPathNewContext() failed')
        __tmp = xpathContext(_obj=ret)
        return __tmp
def xpathNewContext ( self ) : ret = libxml2mod . xmlXPathNewContext ( self . _o ) if ret is None : raise xpathError ( 'xmlXPathNewContext() failed' ) __tmp = xpathContext ( _obj = ret ) return __tmp
Create a new xmlXPathContext