    # File lib/fog/aws/parsers/iam/base_instance_profile.rb, line 13
              def start_element(name,attrs = [])
                super
                case name

                when 'InstanceProfile'
                  @instance_profile = {'Roles' =>[]}
                when 'InstanceProfiles'
                  @stack << 'InstanceProfiles'
                when 'Roles'
                  @stack << 'Role'
                when 'member'
                  case @stack.last
                  when 'InstanceProfiles'
                    @instance_profile = {'Roles' =>[]}
                  when 'Roles'
                    if @instance_profile
                      @role = {}
                    end
                  end
                end
              end