The StaxReader class / xml.StaxReader methods |
Returns the number of namespace declarations defined on the current XML node, or zero.
getNamespaceCount() RETURNING num INTEGER
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.