Java XML NodeList getNodeList(Element from, String elementName)

Here you can find the source of getNodeList(Element from, String elementName)

Description

get Node List

License

Open Source License

Declaration

public static NodeList getNodeList(Element from, String elementName) 

Method Source Code

//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*/
}

Related

  1. getNodeByNodeName(NodeList nodes, String nodeName)
  2. getNodeFromNodeList(NodeList list, String name)
  3. getNodeFromNodeList(NodeList nl, String nodeName, int index)
  4. getNodeFromNodeList(NodeList nodeList)
  5. getNodeIntValue(String tagName, NodeList nodes)
  6. getNodeList(Node fatherNode, String nodeName)
  7. getNodeList(Node node, String tagName)
  8. getNodeList(Node pNode, String tagName)
  9. getNodeList(NodeList nl, String[] names, int pos)