XMLReader.CurrentLineNumber

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aXMLReader.CurrentLineNumber

Supported for all project types and targets.

The line number the parser is currently on.