Node.LookupNamespaceURI method

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

public String LookupNamespaceURI(String prefix)
prefixStringThe prefix to look for.

Return Value

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

See Also