XMLErrorLine()

Syntax

Result = XMLErrorLine(#XML)
Description
In case of an error while parsing XML data this function returns the line in the input that caused the error (one based). XMLStatus() can be used to detect parsing errors.

Parameters

#XML The XML to use.

Return value

The line in the XML where the error occured. The first line index starts from 1.

Remarks

To get the position within the line at which the error happened, XMLErrorPosition() can be used.

See Also

XMLError(), XMLErrorPosition(), XMLStatus()

Supported OS

All

<- XMLError() - XML Index - XMLErrorPosition() ->