def add_element(tag, value, options={})
      add(e = Element.new(tag, value, options))
      e
    end
def add_element(tag, value, options={})
      add(e = Element.new(tag, value, options))
      e
    end
Creates an Element with the given arguments and connects it to self.

 @param [String] tag an element tag
 @param [String, Integer, Float, Array, NilClass] value an element value
 @param [Hash] options any options used for creating the element (see Element.new documentation)