Mono Class Library: System.Xml.XmlReader Overview | Members

System.Xml.XmlReader.BaseURI Property

Gets the base Uniform Resource Identifier (URI) of the current node. [Edit]

public abstract string BaseURI { get; }

Value

The base URI of the current node. [Edit]

Remarks

Note: A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. DTD entities are an example of this, but this is not limited to DTDs. The base URI tells where these nodes come from. If there is no base URI for the nodes being returned (for example, they were parsed from an in-memory string), string.Empty is returned.

Operation

As described above.

This property is read-only.

Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0