Attr Properties |
The Attr type exposes the following members.
Name | Description | |
---|---|---|
![]() | Attributes |
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
(Inherited from Node.) |
![]() | BaseURI |
The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.
(Inherited from Node.) |
![]() | ChildNodes |
A NodeList that contains all children of this node. If there are no children, this is a NodeList containing no nodes..
(Inherited from Node.) |
![]() | FirstChild |
The first child of this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | IsId |
Returns whether this attribute is known to be of type ID (i.e. to contain an identifier for its owner element) or not.
|
![]() | LastChild |
The last child of this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | LocalName |
Returns the local part of the qualified name of this node.
For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, such as Document.createElement(), this is always null.
(Overrides NodeLocalName.) |
![]() | Name |
Returns the name of this attribute.
|
![]() | NamespaceURI |
The namespace URI of this node, or null if it is unspecified.
(Overrides NodeNamespaceURI.) |
![]() | NextSibling |
The node immediately following this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | NodeName |
The name of this node, depending on its type.
(Overrides NodeNodeName.) |
![]() | NodeType |
A code representing the type of the underlying object.
(Overrides NodeNodeType.) |
![]() | NodeValue |
The value of this node, depending on its type.
(Overrides NodeNodeValue.) |
![]() | OwnerDocument |
The Document object associated with this node. This is also the Document object used to create new nodes. When this node is a Document or a DocumentType which is not used with any Document yet, this is null.
(Inherited from Node.) |
![]() | OwnerElement |
The Element node this attribute is attached to or null if this attribute is not in use.
|
![]() | ParentElement |
Gets the parent Element of this node.
(Inherited from Node.) |
![]() | ParentNode |
The parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.
(Inherited from Node.) |
![]() | Prefix |
The namespace prefix of this node, or null if it is unspecified. When it is defined to be null, setting it has no effect
(Overrides NodePrefix.) |
![]() | PreviousSibling |
The node immediately preceding this node. If there is no such node, this returns null.
(Inherited from Node.) |
![]() | SchemaTypeInfo |
The type information associated with this attribute.
|
![]() | Specified |
True if this attribute was explicitly given a value in the instance document, false otherwise.
|
![]() | TextContent |
This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.
(Overrides NodeTextContent.) |
![]() | Value |
On retrieval, the value of the attribute is returned as a string.
|