XPathNavigator.BaseURI Property
Gets the base URI for the current node.
[Visual Basic] Public MustOverride ReadOnly Property BaseURI As String [C#] public abstract string BaseURI {get;} [C++] public: __property virtual String* get_BaseURI() = 0; [JScript] public abstract function get BaseURI() : String;
Property Value
The base URI for the current node or empty string if there is no value.
Remarks
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, however, this is not limited to DTDs. The BaseURI property tells you where these nodes originate from.
For example, if the XML data is loaded from http://server/mydata.xml then BaseURI returns http://server/mydata.xml.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
XPathNavigator Class | XPathNavigator Members | System.Xml.XPath Namespace