def relaxNGValidateDoc(self, ctxt):
        """Validate a document tree in memory. """
        if ctxt is None: ctxt__o = None
        else: ctxt__o = ctxt._o
        ret = libxml2mod.xmlRelaxNGValidateDoc(ctxt__o, self._o)
        return ret
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
Validate a document tree in memory.