xml.elemNew()

Creates an XML document object element

xml.elemNew( xmlObj [, namespace_or_childName [, childName ] ] )

Returns: org.w3c.dom.Element

Argument Description
xmlObj
xml, required

Name of the XML document object in which you are creating the element

namespace_or_childName
string, optional

URI of the namespace to which this element belongs or the name of the element to create.

childName
string, optional

The name of the element to create. This element becomes a child element of xmlObj in the tree.

Examples

There are currently no examples for this function

See also