https://github.com/cran/XML
Raw File
Tip revision: 9568fa60a03fc8001e0af3298f483646c819f011 authored by CRAN Team on 05 July 2020, 13:13:52 UTC
version 3.99-0.4
Tip revision: 9568fa6
author.R
xsd = xmlTreeParse("examples/author.xsd", isSchema =TRUE, useInternal = TRUE)
doc = xmlInternalTreeParse("examples/author.xml")
#h = schemaValidationErrorHandler()
#.Call("RS_XML_xmlSchemaValidateDoc", xsd@ref, doc, 0L, h)
xmlSchemaValidate(xsd, doc)

back to top