Here you can find the source of getElement(Element element, String name, int index)
private static Element getElement(Element element, String name, int index)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.Element; public class Main { private static Element getElement(Element element, String name, int index) { return (Element) element.getElementsByTagName(name).item(index); }//from www . java2 s. c o m }