Method XmlNode():createElement() Foundation
Creates an element node.
CLASS METHOD :createElement( <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 |
An XmlNode() object representing the new element node.
The method :createElement() creates an element node using the specified node name, attributes and content. The element node returned by :createElement() is not associated with any other node. Instead, it must be added to an existing node or document node using the :addChild() method.
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.