code: public static List<Node> getChildren(Node node, String childNodeName)
      {
          List<Node> children = new ArrayList<Node>();
          NodeList childNodes = node.getChildNodes();
          for (int i=0; i<childNodes.getLength(); i++)
          {
              Node child = childNodes.item(i);
              String childName = child.getNodeName();
              if (childName.equalsIgnoreCase(childNodeName))
              {
                  children.add(child);
              }
          }
          return children;
      }
docs: Returns the children of the given node with the given name (ignoring
  upper/lower case).
  
  @param node The node
  @param childNodeName The child node name
  @return The children with the given name