TDOMNode.NodeName property
Name for the DOM node.
Declaration
property NodeName: DOMString read GetNodeName;Description
NodeName is a read-only
DOMString property that
contains the name for the DOM node. The read access specifier for the
property is an abstract method in TDOMNode, and must be implemented in
descendent classes to return the correct value for the DOM node
specializations.
The values for NodeName, NodeValue, and Attributes vary according to the node type as follows:
| DOM Interface | NodeName | NodeValue | Attributes |
| TDOMAttr | Name of the attribute | Value of the attribute | N/A |
| TDOMCDATASection |
#cdata-section
|
Content of the CDATA Section | N/A |
| TDOMComment |
#comment
|
Content of the comment | N/A |
| TDOMDocument |
#document
|
None | N/A |
| TDOMDocumentFragment |
#document-fragment
|
None | N/A |
| TDOMDocumentType | Document type name | None | N/A |
| TDOMElement | Tag name | None | TDOMNamedNodeMap |
| TDOMEntity | Entity name | None | N/A |
| TDOMEntityReference | Name of the entity referenced | None | N/A |
| TDOMNotation | Notation name | None | N/A |
| TDOMProcessingInstruction | Target | Entire content excluding the target | N/A |
| TDOMText |
#text
|
Content of the text node | N/A |
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
