Method XmlNode():addElement() Foundation
Creates an element node and adds it as a child node.
:addElement( <cName> [,<cContent>] [,<aAttributes>] ) --> oXmlNode
Name | Data Type | Description |
---|---|---|
name | C | Name of the attribute |
value | C | Attribute value |
namespace | C | Namespace the attribute belongs to |
:addElement() returns the object executing the method.
The method :addElement() creates an element node using the specified node name, attributes and content, and associates it with the node object executing :addElement(). In order to create an element node which is not associated with any other node, the method :createElement() must be used.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.