StaticContextSettings.Namespaces PropertyStaticContextSettings.Namespaces PropertyStaticContextSettings::Namespaces Property

Gets or sets the statically known namespaces.

Syntax

Public Property Namespaces As System.Xml.IXmlNamespaceResolver
        Get
        Set(ByVal value As System.Xml.IXmlNamespaceResolver)
public System.Xml.IXmlNamespaceResolver Namespaces { get; set; }
 

Remarks

The namespace bound to EmptyEmptyEmpty is interpreted as the default element namespace.

In XQuery this property defaults to fn, xml, xs, xsi and local. In XPath and XSL the default value just contains the xml namespace.

The initial in scope namespaces are made accessible to all modules that are compiled during compilation.

These namespace declarations can be overridden in XQuery with declare namespace declarations.