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 with the appropriate error number.