Saxon API for .NET

DocumentBuilder.IsLineNumbering Property

Determines whether line numbering is enabled for documents loaded using this DocumentBuilder.

public bool IsLineNumbering {get; set;}

Remarks

By default, line numbering is disabled.

Line numbering is not available for all kinds of source: in particular, it is not available when loading from an existing XmlDocument.

See Also

DocumentBuilder Class | Saxon.Api Namespace