validate_xml: Validate the XML file

Description Usage Arguments Value Examples

Description

The function takes as input the path to a XML file that contains a LDCP system. Then it validates the LDCP system.

Usage

1
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

1
2
3
## Not run: validate_xml('extdata/comfortableroom.xml')

## The xml is valid

rLDCP documentation built on May 2, 2019, 2:30 a.m.

Related to validate_xml in rLDCP...