The Element interface contains methods and properties that apply to XML elements.
The nodeType value is 1.
| Name | Description |
|---|---|
| appendChild() | Method that appends a new child at the end of the children node. |
| cloneNode() | Method that clones a node and returns a new node. |
| getAttribute() | Method that returns attribute value by name. |
| getAttributeNode() | Method that returns attribute node by name. |
| hasAttribute() | Method that returns TRUE if an element containes given attribute. |
| removeAttribute() | Method that removes an attribute. |
| removeAttributeNode() | Method that removes an attribute's node. |
| setAttribute() | Method that adds a new attribute. |
| setAttributeNode() | Method that adds a new attribute's node. |
Comments
No comments have been made yet.
Please login to leave a comment. Login now