code: def xpointerNewCollapsedRange(self):
          
          ret = libxml2mod.xmlXPtrNewCollapsedRange(self._o)
          if ret is None:raise treeError('xmlXPtrNewCollapsedRange() failed')
          return xpathObjectRet(ret)
docs: Create a new xmlXPathObjectPtr of type range using a single
             nodes