Mega Code Archive
Get the name of this element
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public class Main {
// return the name of this element
public static String getName(Node node) {
return node.getNodeName();
} // getLocalName(Element): String
}