om.DomDocument.create

Create a new empty om.DomDocument object.

Syntax

om.DomDocument.create(
   tagName STRING )
  RETURNS om.DomDocument
  1. tagName 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 om.DomDocument type.

Example

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