Lucee object methods reference

Object Method Xml.elemNew

Creates an XML document object element
Xml.elemNew([string namespace_or_childName,[string childName]]):org.w3c.dom.Element




The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
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.