parameters: (self, here, origin)
return_statement: return __tmp
docstring: Create a new XPointer context
docstring_summary: Create a new XPointer context
docstring_tokens: Create a new XPointer context
function: def xpointerNewContext(self, here, origin):
          """Create a new XPointer context """
          if here is None: here__o = None
          else: here__o = here._o
          if origin is None: origin__o = None
          else: origin__o = origin._o
          ret = libxml2mod.xmlXPtrNewContext(self._o, here__o, origin__o)
          if ret is None:raise treeError('xmlXPtrNewContext() failed')
          __tmp = xpathContext(_obj=ret)
          return __tmp
function_tokens: def xpointerNewContext ( self , here , origin ) : if here is None : here__o = None else : here__o = here . _o if origin is None : origin__o = None else : origin__o = origin . _o ret = libxml2mod . xmlXPtrNewContext ( self . _o , here__o , origin__o ) if ret is None : raise treeError ( 'xmlXPtrNewContext() failed' ) __tmp = xpathContext ( _obj = ret ) return __tmp