code: public XNElement childElement(String name) {
          for (XNElement e : children) {
              if (e.name.equals(name)) {
                  return e;
              }
          }
          return null;
      }
docs: Returns the first child element with the given name.
  @param name the child name
  @return the XElement or null if not present