XMLErrorLine()

语法

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

参数

#XML The XML to use.

返回值

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.

参阅

XMLError(), XMLErrorPosition(), XMLStatus()

已支持操作系统

所有

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