# File lib/aws/xml_grammar.rb, line 458
      def start_element element_name, attrs

        if @frame
          @frame = @frame.build_child_frame(element_name)
        else
          @frame = RootFrame.new(@context, @customizations)
        end

        # consume attributes the same way we consume nested xml elements
        attrs.each do |(attr_name, attr_value)|
          attr_frame = @frame.build_child_frame(attr_name)
          attr_frame.add_text(attr_value)
          @frame.consume_child_frame(attr_frame)
        end

      end