code: public static Node getFirstChild(Node node, String childNodeName)
      {
          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))
              {
                  return child;
              }
          }
          return null;
      }
docs: Returns the first child of the given node with the given name (ignoring
  upper/lower case), or <code>null</code> if no such child is found.
  
  @param node The node
  @param childNodeName The child node name
  @return The child with the given name, or <code>null</code>