Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function XMLELEMNEW

Creates an XML document object element

Example

xmlelemnew(xml xmlObj,[string namespace_or_childName,[string childName]]):org.w3c.dom.Element

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
xmlObj xml  Yes Name of the XML document object in which you are creating the element  
namespace_or_childName string  No URI of the namespace to which this element belongs or the name of the element to create.  
childName string  No The name of the element to create. This element becomes a child element of xmlObj in the tree.