om.DomDocument.create

Create a new empty om.DomDocument object.

Syntax

om.DomDocument.create(
   tag STRING )
  RETURNING result om.DomDocument
  1. tag defines the tag name of the root element.

Usage

Use the class method om.DomDocument.create() to instantiate a new, empty DOM document object.

To hold the reference to a DOM document object, define a variable with the type om.DomDocument type.

DEFINE d om.DomDocument
LET d = om.DomDocument.create("Vehicles")