code: def schemaValidateDoc(self, doc):
          
          if doc is None: doc__o = None
          else: doc__o = doc._o
          ret = libxml2mod.xmlSchemaValidateDoc(self._o, doc__o)
          return ret
docs: Validate a document tree in memory.