XMLReader::setSchema Validate document against XSD &reftitle.description; public boolXMLReader::setSchema stringnullfilename Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read(). &reftitle.parameters; filename The filename of the XSD schema. &reftitle.returnvalues; &return.success; &reftitle.errors; Issues E_WARNING if libxml was built without schema support, the schema contains errors or if XMLReader::read has already been called. &reftitle.notes; &xmlreader.libxml20620.note; &reftitle.seealso; XMLReader::setRelaxNGSchema XMLReader::setRelaxNGSchemaSource XMLReader::isValid