handler :instance, {
    start_element: ->(name) { 
      if name == :instance
        @index = 0
        @current_path = []