inst/examples/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)

Try the XML package in your browser

Any scripts or data that you put into this service are public.

XML documentation built on Nov. 3, 2023, 1:14 a.m.