Main
Samples

DOMElement inherits from DOMNode

Properties:
(string) tagName - read only
(DOMTypeinfo) schemaTypeInfo - Not Implemented

Methods:

(string) getAttribute(string name) returns attribute value or empty string if non-existant
(DOMAttr) setAttribute(string name, string value) returns DOMAttr - raises DOMException
(bool) removeAttribute(string name) returns TRUE if attribute found and removed otherwise FALSE
(DOMAttr) getAttributeNode(string name) returns DOMAttr if attribute found
(DOMAttr) setAttributeNode(DOMAttr newAttr) returns old DOMAttr if attribute replaced otherwise returns NULL
(DOMAttr) removeAttributeNode(DOMAttr oldAttr) returns removed attribute - raises DOMException when attribute node not found
(DOMNodeList) getElementsByTagName(string name) returns DOMNodeList
(string) getAttributeNS(string namespaceURI, string localName) returns attribute value or empty string if non-existant
(void) setAttributeNS(string namespaceURI, string qualifiedName, string value) raises DOMException when element is readonly
(void) removeAttributeNS(string namespaceURI, string localName) raises DOMException when element is readonly
(DOMAttr) getAttributeNodeNS(string namespaceURI, string localName) returns DOMAttr if attribute found
(DOMAttr) setAttributeNodeNS(DOMAttr newAttr) returns old DOMAttr if attribute replaced otherwise returns NULL
(DOMNodeList) getElementsByTagNameNS(string namespaceURI, string localName) returns DOMNodeList
(bool) hasAttribute(string name)  
(bool) hasAttributeNS(string namespaceURI, string localName)  
(void) setIdAttribute(string name, bool isId) Currently Not Implemented
(void) setIdAttributeNS(string namespaceURI, string localName, bool isId) Currently Not Implemented
(void) setIdAttributeNode(DOMAttr idAttr, bool isId) Currently Not Implemented