om.SaxAttributes.setAttributes

Clears the list and copies the attributes passed.

Syntax

setAttributes(
   attrs om.SaxAttributes )
  1. attrs is a reference to list of attributes.

Usage

The setAttributes() method takes an existing om.SaxAttributes object reference and makes a copy of all attributes into the current attribute list.

Example

DEFINE curr, orig om.SaxAttributes
...
CALL curr.setAttributes(orig)