validate_xml {rLDCP} | R Documentation |
Validate the XML file
Description
The function takes as input the path to a XML file that contains a LDCP system. Then it validates the LDCP system.
Usage
validate_xml(xmlfile, schema = NULL)
Arguments
xmlfile |
is the XML source path file. E.g. "/folder/ldcp_system.xml". |
schema |
is the ldcp schema path file. By default is "ldcpSchema.xsd". |
Value
If the process ends without error, the user will receive the message that indicates that the XML is valid. Otherwise, the user will receive the detailed list of errors.
Examples
## Not run: validate_xml('extdata/comfortableroom.xml')
## The xml is valid
[Package rLDCP version 1.0.2 Index]