The IDLffXMLDOMAttr object represents an attribute that is part of an element object. Typically, the allowable values for the attribute are defined in a DTD.

Attribute objects are subclasses of the IDLffXMLDOMNode abstract superclass, but are not actually child nodes of the elements they describe and are not considered as part of the DOM tree. Therefore, an attribute object does not have a parent or siblings, and so the ParentNode(), NextSibling(), and PreviousSibling() methods always return a null object reference. The DOM takes the view that attributes are properties of elements, rather than having a separate identity.

An attribute’s value may be explicitly assigned or may take on a default value as described by a DTD. If neither of these alternatives is true, the attribute does not exist in the element. Use the IDLffXMLDOMAttr::GetSpecified method to determine if the value was explicitly specified or has taken on the default value.

If the value of an attribute may contain entity references, then the attribute node may have either text or entity-reference child nodes.

Superclasses


IDLffXMLDOMNode

Creation


See IDLffXMLDOMAttr::Init.

Properties


Objects of this class have no properties of their own, but do have properties inherited from any superclasses.

Methods


This class has the following methods:

In addition, this class inherits the methods of any superclasses.

Version History


6.1

Introduced