Do you want a tag name? UserootElement.getTagName();
From Java docs:
public String getLocalName ()
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 using the DOM Level 1 method, such as Document.createElement (), this is always null. C: DOM Level 2.
public String getTagName ()
. node.localName , . , :
<elementExample id="demo"> ...
</elementExample> ,
tagName "elementExample". , XML, DOM. HTML DOM tagName HTML , HTML-.