Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffXMLDOMDocument::CreateElement

# IDLffXMLDOMDocument::CreateElement

Syntax | Return Value | Arguments | Keywords | Version History

The IDLffXMLDOMDocument::CreateElement function method creates an element node that is owned by the document and sets the element’s name to a tag name.

## Syntax

Result = Obj->[IDLffXMLDOMDocument::]CreateElement( TagName )

## Return Value

Returns an object reference to the new IDLffXMLDOMElement node.

## Arguments

### TagName

A scalar string that contains the name of the element.

## Keywords

None

## Version History

6.1 | Introduced