Here you can find the source of getNodeList(Element from, String elementName)
public static NodeList getNodeList(Element from, String elementName)
//package com.java2s; import org.w3c.dom.Element; import org.w3c.dom.NodeList; public class Main { public static NodeList getNodeList(Element from, String elementName) { NodeList nodes = from.getElementsByTagName(elementName); return nodes; }/*from www .j a va 2 s.com*/ }