WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMAttr

IID:a6cf9070-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMNode

Properties

readonly DOMString name

The nsIDOMAttr interface represents an attribute in an "Element" object. Typically the allowable values for the attribute are defined in a document type definition.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

readonly nsIDOMElement ownerElement

readonly PRBool specified

DOMString value


References

This interface is the type of the following properties:

nsIXTFElement.accesskeyNode

This interface is passed as an argument to the following methods:

nsIDOMElement.removeAttributeNode, nsIDOMElement.setAttributeNode, nsIDOMElement.setAttributeNodeNS

This interface is returned from the following methods:

nsIDOMDocument.createAttribute, nsIDOMDocument.createAttributeNS, nsIDOMElement.getAttributeNode, nsIDOMElement.getAttributeNodeNS, nsIDOMElement.removeAttributeNode, nsIDOMElement.setAttributeNode, nsIDOMElement.setAttributeNodeNS

Reference documentation is generated from Mozilla's source.