om.SaxAttributes.removeAttribute

Delete an attribute by position.

Syntax

removeAttribute(
   index INTEGER )
  1. index is the position of the attribute in the list.

Usage

The removeAttribute() method removes the attribute at the given ordinal position.

If the attribute does not exist at the given position, the method returns silently.

Example

DEFINE attrs om.SaxAttributes
...
CALL attrs.removeAttribute( attrs.getLength() )

For a complete example, see Example 2: Creating a SAX attributes object.