The XMLDOMElement ObjectThe XMLDOMElement object represents elements and is probably the most common node object you'll deal with. Because attributes are not considered child nodes of an element object, you use special methods to get the attributes of an element. For example, you can use the getAttribute method, which returns an XMLDOMNamedNodeMap object that contains all the element's attributes. Here are the base properties of the XMLDOMElement object:
Here are the base methods of the XMLDOMElement object:
This object has no events. |