NodeLookupNamespaceURI Method

The lookupNamespaceURI() method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and null if not).

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.1
Syntax
public string LookupNamespaceURI(
	string prefix
)

Parameters

prefix
Type: SystemString

The prefix to look for.

Return Value

Type: String

A String containing the namespace URI corresponding to the prefix. If the prefix is not found, it returns null. If the requested prefix is null, it returns the default namespace URI.

Implements

IXPathNSResolverLookupNamespaceURI(String)
See Also