Saxon.Api

Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum WhitespacePolicy

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver

 

Saxon.Api
Interface IXmlLocation


public interface IXmlLocation
implements object

An IXmlLocation represents the location of a node within an XML document. It is in two parts: the base URI (or system ID) of the external entity (which will usually be the XML document entity itself), and the line number of a node relative to the base URI of the containing external entity.


Property Summary
 Uri BaseUri

The base URI (system ID) of an external entity within an XML document. Set to null if the base URI is not known (for example, for an XML document created programmatically where no base URI has been set up).

 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.

 
Property Detail

BaseUri

public Uri BaseUri {get; set; }

The base URI (system ID) of an external entity within an XML document. Set to null if the base URI is not known (for example, for an XML document created programmatically where no base URI has been set up).


LineNumber

public int LineNumber {get; set; }

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.