code: def SchemaValidate(self, xsd):
          
          ret = libxml2mod.xmlTextReaderSchemaValidate(self._o, xsd)
          return ret
docs: Use W3C XSD schema to validate the document as it is
            processed. Activation is only possible before the first
            Read(). If @xsd is None, then XML Schema validation is
             deactivated.