Skip to main content
Version: 21 R3

XML GET ERROR

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

ParameterTypeDescription
elementRefText→XML element reference
errorTextVariable←Text of the error
rowVariable←Row number
columnVariable←Column number
History
ReleaseChanges
12Renamed
2003Created

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

Properties​

Command number732
Thread safeyes
Modifies variablesOK