StaticContextSettings.BaseURI PropertyStaticContextSettings.BaseURI PropertyStaticContextSettings::BaseURI Property

Gets or sets the base URI.

Syntax

Public Property BaseURI As AnyUri
        Get
        Set(ByVal value As AnyUri)
public AnyUri BaseURI { get; set; }
public:
property AnyUri^ BaseURI {
    AnyUri^ get();
    void set(AnyUri^ value);
}
 

Property Value

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

An AnyUriAnyUriAnyUri instance representing the base URI.

Remarks

This is a URI, used when necessary in the resolution of relative URIs, for example, by the fn:resolve-uri function.

If the value is null a null reference (Nothing in Visual Basic) nullptr, then the base URI is set to the URI of the query or transformation. This is the default value.

If the value is a relative URI, it will resolved to an absolute URI using the URI of the query or transformation.

This can be overridden with a declare base-uri declaration in a query.