Saxon API for .NET

DynamicError.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

DynamicError Class | Saxon.Api Namespace