Saxon API for .NET

DocumentBuilder.BaseUri Property

The base URI of a document loaded using this DocumentBuilder. This is used for resolving any relative URIs appearing within the document, for example in references to DTDs and external entities.

public System.Uri BaseUri {get; set;}

Remarks

This information is required when the document is loaded from a source that does not provide an intrinsic URI, notably when loading from a Stream or a TextReader.

See Also

DocumentBuilder Class | Saxon.Api Namespace