Node.NodeName
Contents
[
Hide
]Node.NodeName property
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 Name
Element
- The value of TagName
, that is the uppercase name of the element tag if an HTML element, or the lowercase element tag if an XML element (like an SVG or MATHML element).ProcessingInstruction
- The value of Target
Text
- The string “#text”.
Remarks
Reference:
See Also
- class Node
- namespace Aspose.Svg.Dom
- assembly Aspose.SVG