XMLErrorPosition()

语法

Result = XMLErrorPosition(#XML)
概要
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.

参数

#XML The XML to use.

返回值

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

参阅

XMLError(), XMLErrorLine(), XMLStatus()

已支持操作系统

所有

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