If errors exist, returns them in XML format within a
<validationmessages>
element. Otherwise, returns an empty
<validationmessages/>
element.
See also: GetErrors()
Supported Keyword Arguments
None
Return Type
Object
Examples
Example 30: List returned when validation errors exist
GetErrorsXML() "<validationmessages><message><type>Physics</type><subtype>GlobalCheck</subtype><entity>/SystemCoupling/OutputControl </entity><property /><category>OutputControlModel@warnIfOutputOnlyAtLastStep</category><level>Warning</level> <text>Restart output is only requested at last step. To enable restarts from intermediate points, use another 'OutputControl' option.</text></message></validationmessages>"