xml.DomNode.lookupNamespaceURI

Looks up the namespace URI associated to a prefix, starting from a specified node.

Syntax

lookupNamespaceURI(
   prefix STRING )
  RETURNING ns STRING 
  1. prefix is the prefix to look for.

Usage

Looks up the namespace URI associated to a prefix, starting from this node, where prefix is the prefix to look for; if NULL, the default namespace URI will be returned. Returns a namespace URI, or NULL.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.