if(FALSE) {
xsd = xmlParse(system.file("exampleData", "author.xsd", package = "XML"), isSchema =TRUE)
doc = xmlInternalTreeParse(system.file("exampleData", "author.xml", package = "XML"))
xmlSchemaValidate(xsd, doc)
}
Run the code above in your browser using DataLab