4D v13.4

XML GET ERROR

Home

 
4D v13.4
XML
XML GET ERROR

XML GET ERROR 


 

XML GET ERROR ( elementRef ; errorText {; row {; column}} )  
Parameter Type   Description
elementRef  String in XML element reference
errorText  Variable in Text of the error
row  Variable in Row number
column  Variable in Column number

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.

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

 
PROPERTIES 

Product: 4D
Theme: XML
Number: 732

The OK variable is changed by the command

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D 2003
Renamed: 4D v12

 
SEE ALSO 

DOM Get XML information