4D v14.3

XML GET ERROR

Home

 
4D v14.3
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

 
HISTORY 

Created: 4D 2003
Renamed: 4D v12

 
SEE ALSO 

DOM Get XML information

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : GET XML ERROR ( 4D v11 SQL Release 6)