Java examples for XML:XML Node
get XML Node Name
//package com.java2s; import org.w3c.dom.Node; public class Main { public final static String getElementName(Node child) { return child.getNodeName(); }/*w w w. jav a 2s .c om*/ }