Description Usage Arguments Value Examples
The function takes as input the path to a XML file that contains a LDCP system. Then it validates the LDCP system.
1 | validate_xml(xmlfile, schema = NULL)
|
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". |
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.
1 2 3 | ## Not run: validate_xml('extdata/comfortableroom.xml')
## The xml is valid
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.