code: public XNElement add(String name) {
          XNElement e = new XNElement(name);
          e.parent = this;
          children.add(e);
          return e;
      }
docs: Add a new XElement with the given local name and no namespace.
  @param name the name of the new element
  @return the created XElement child