Saxon.Api

 

 

Saxon.Api

Class Location


public class Location

A Location represents the location of a construct within a containing resource. For example, it might identify the location of an error in a schema document, stylesheet module, or query module, or the location of an element that fails schema validity checking.

Property Summary

 int ColumnNumber

The column number of a node relative to the start of the external entity. The value -1 indicates that the column number is not known or not applicable.

 int LineNumber

The line number of a node relative to the start of the external entity. The value -1 indicates that the line number is not known or not applicable.

 Uri SystemId

The URI of the containing resource

 

Property Detail

ColumnNumber

public int ColumnNumber {get; }

The column number of a node relative to the start of the external entity. The value -1 indicates that the column number is not known or not applicable.

LineNumber

public int LineNumber {get; }

The line number of a node relative to the start of the external entity. The value -1 indicates that the line number is not known or not applicable.

SystemId

public Uri SystemId {get; }

The URI of the containing resource