Interface Element
The Element interface represents an element in an XML document.
Elements may have attributes associated with them; since the Element interface inherits from Node, the generic Node interface attribute attributes may be used to retrieve the set of all attributes for an element.
There are methods on the Element interface to retrieve either an Attr object by name or an attribute value by name.
In XML, where an attribute value may contain entity references, an Attr object should be retrieved to examine the possibly fairly complex sub-tree representing the attribute value.
get_tagName
getAttribute
setAttribute
removeAttribute
getAttributeNode
setAttributeNode
removeAttributeNode
getElementsByTagName
(normalize)
getAttributeNS
setAttributeNS
removeAttributeNS
getAttributeNodeNS
setAttributeNodeNS
getElementsByTagNameNS
hasAttribute
hasAttributeNS
e-Mail: denny@nodix.de
|