om.DomNode.getAttributeInteger

Returns the value of a DOM node attribute, with default integer value.

Syntax

getAttributeInteger(
   name STRING,
   def STRING )
  RETURNING result INTEGER
  1. name is the name of the attribute.
  2. def is the default value.

Usage

The getAttributeInteger() method returns the value of the attribute passed as parameter, as defined in the current node.

DOM node attribute names are case-sensitive.

If the attribute is not defined, the method returns the default value passed as second parameter.