code: def relaxNGValidateDoc(self, ctxt):
          
          if ctxt is None: ctxt__o = None
          else: ctxt__o = ctxt._o
          ret = libxml2mod.xmlRelaxNGValidateDoc(ctxt__o, self._o)
          return ret
docs: Validate a document tree in memory.