# File lib/jabber4r/protocol.rb, line 955
955:       def add_child(tag, attributes={})
956:         child = XMLElement.new(tag, attributes)
957:         child.parent = self
958:         @elements << child
959:         return child
960:       end