Here you can find the source of getElementsByTagName(Node node, String tagName)
public static NodeList getElementsByTagName(Node node, String tagName)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class Main { public static NodeList getElementsByTagName(Node node, String tagName) { // TODO//from w w w . ja v a 2 s. c o m return null; } }