om.SaxAttributes.copy

Clones an existing SAX attributes object.

Syntax

copy(
   attr om.SaxAttributes )
  RETURNS om.SaxAttributes
  1. attr is a set of SAX attributes to clone.

Usage

The om.SaxAttributes.copy() class method makes a clone of the om.SaxAttributes object passed as reference and returns the created object.

Example

DEFINE copy, orig om.SaxAttributes
...
LET copy = om.SaxAttributes.copy(orig)

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