XsltFunctions.BaseUri Method (XPathNavigator)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the value of the base URI of the node of the node passed in by the navigator parameter. Implements baseUri XPath function according to the W3C specification.

Namespace:   System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)

public static string BaseUri(
	XPathNavigator navigator


Type: System.Xml.XPath.XPathNavigator

The XPathNavigator instance that contains the node to be identified by URI.

Return Value

Type: System.String

The base URI as String.

.NET Framework
Available since 2.0
Return to top