Skip to main content
Version: Next

XML GET ERROR

XML GET ERROR ( elementRef ; errorText {; row {; column}} )

ParameterTypeDescription
elementRefTextXML element reference
errorTextVariableText of the error
rowVariableRow number
columnVariableColumn number

Description

The XML GET ERROR command returns, in the errorText parameter, a description of the error encountered when processing the XML element designated by the elementRef parameter. The information returned is supplied by the Xerces.DLL library.

The optional row and column parameters indicate the location of the error: they retrieve, respectively, the row number and, in this row, the position of the first character of the expression at the origin of the error.

System variables and sets

If the command has been correctly executed, the system variable OK is set to 1. If an error occurs, it is set to 0.

See also

DOM Get XML information