xml.StaxReader.getNamespaceURI

Returns the URI of a namespace declaration defined at a given position on the current XML node, or NULL.

Syntax

getNamespaceURI(
   index INTEGER )
  RETURNS STRING
  1. index defines the position of the namespace declaration (index starts at 1).

Usage

This method returns the URI of a namespace declaration defined at index position on the current XML node, or NULL.

This method is only valid on a START_ELEMENT node.

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