om.SaxAttributes.addAttribute

Appends a new attribute to the end of the list.

Syntax

addAttribute(
   name STRING,
   value STRING )
  1. name is the name of the attribute.
  2. value is the value of the attribute.

Usage

The addAttribute() method appends a new attribute with name and value at the end of the list.

DEFINE attrs om.SaxAttributes
...
CALL attrs.addAttribute("name","jo")