Node.NodeName
Node.NodeName property
The read-only nodeName property of Node returns the name of the current node as a String.
public abstract String NodeName { get; }
Property Value
A String, values for the different types of nodes are:
Attr - The value of Attr.name, that is the qualified name of the attribute.CDATASection - The String “#cdata-section”.Comment - The String “#comment”.Document - The String “#document”.DocumentFragment - The String “#document-fragment”.DocumentType - The value of DocumentType.nameElement - The value of Element.tagName, that is the uppercase name of the element tag if an HTML element, or the lowercase element tag if an XML element (like a SVG or MATHML element).ProcessingInstruction - The value of ProcessingInstruction.targetText - The String “#text”.
Remarks
Reference:
DOM Standard - defines a platform-neutral model for events, aborting activities, and node trees.DOM Standard (DOM) # dom-node-nodename.GitHub - repository hosts the DOM Standard.
See Also
- class Node
- package com.aspose.html.dom
- package Aspose.HTML