XMLErrorPosition()

Syntax

Result = XMLErrorPosition(#XML)
Description
In case of an error while parsing XML data this function returns character position within the line returned by XMLErrorLine() at which the error was caused. (The first character of the line is at position 1) XMLStatus() can be used to detect parsing errors.

Parameters

#XML The XML to use.

Return value

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

See Also

XMLError(), XMLErrorLine(), XMLStatus()

Supported OS

All

<- XMLErrorLine() - XML Index - XMLNodeFromID() ->