XMLReaderException.CurrentLineNumber

From Xojo Documentation

Property (As Integer )
aXMLReaderException.CurrentLineNumber = newIntegerValue
or
IntegerValue = aXMLReaderException.CurrentLineNumber

Supported for all project types and targets.

The line number at which the error occurred.