xml.StaxReader.getNamespaceURI

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

Syntax

getNamespaceURI(
   pos INTEGER )
  RETURNING nsuri STRING
  1. pos is the position of the namespace declaration (Index starts at 1).

Usage

This method is only valid on a START_ELEMENT node.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.