XML GET ERROR
XML GET ERROR ( elementRef ; errorText {; row {; column}} )
Parameter | Type | Description | |
---|---|---|---|
elementRef | Text | → | XML element reference |
errorText | Variable | ← | Text of the error |
row | Variable | ← | Row number |
column | Variable | ← | Column 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
Properties
Command number | 732 |
Thread safe | ✓ |
Modifies variables | OK |