code: public static Element getChild(Element element, String name) {
          return (Element) element.getElementsByTagName(name).item(0);
      }
docs: Get the first child element with the given name.
  
  @param element
  The parent element
  @param name
  The child element name
  @return The child element or null