xml.DomNode.isDefaultNamespace

Checks whether the specified namespace URI is the default namespace.

Syntax

isDefaultNamespace(
   ns STRING )
  RETURNS INTEGER
  1. ns defines the namespace URI to look for.

Usage

Use this method to check 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).