Saxon API for .NET

StaticError.LineNumber Property

The line number locating the error within a query or stylesheet module

public int LineNumber {get;}

Remarks

May be set to -1 if the location of the error is unknown

See Also

StaticError Class | Saxon.Api Namespace