4D v16.3

XML GET ERROR

Home

 
4D v16.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.



See also 

DOM Get XML information

 
PROPERTIES 

Product: 4D
Theme: XML
Number: 732

The OK variable is changed by the commandThis command can be run in preemptive processes

 
HISTORY 

Created: 4D 2003
Renamed: 4D v12

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)