xml.DomNode.lookupNamespaceURI

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

Syntax

lookupNamespaceURI(
   prefix STRING )
  RETURNS STRING
  1. prefix defines the prefix to look for.

Usage

Use this method to look up the namespace URI associated with a prefix, starting from this node, where prefix is the prefix to look for. If NULL, the default namespace URI will be returned. A namespace URI, or NULL, is returned.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).