https://github.com/cran/XML
Raw File
Tip revision: 7ab4aa451639a5b2fc73eb370b6d339d4f4c4979 authored by CRAN Team on 20 January 2020, 07:44:55 UTC
version 3.99-0.3
Tip revision: 7ab4aa4
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