xml.DomNode.isDefaultNamespace

Checks whether the specified namespace URI is the default namespace.

Syntax

isDefaultNamespace(
   ns STRING )
  RETURNING flag INTEGER
  1. ns is the namespace URI to look for.

Usage

Checks whether the specified namespace URI is the default namespace, where ns is the namespace URI to look for. Returns TRUE if the given namespace is the default namespace, FALSE otherwise.

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).