Learn R Programming

RXMCDA (version 1.5.5)

putErrorMessage: Put an error message

Description

Puts an error message in a tag of an XML tree written according to the XMCDA standard.

Usage

putErrorMessage(tree, errorMessage, name = NULL)

Arguments

tree
Object containing the XMCDA XML tree.
errorMessage
A string containing the text of the error message.
name
A string containing the specific name attribute which should be searched for.

Value

The function returns a list structured as follows:
status
Either OK if the tag could be correctly put, or the description of the error.