def to_xml
      template_path = File.join(File.dirname(__FILE__), '..', '..', 'templates', 'schema.xml.erb')
      template_text = File.read(template_path)

      erb = if RUBY_VERSION >= '2.6'
        ERB.new(template_text, trim_mode: '-')
      else
        ERB.new(template_text, nil, '-')
      end

      erb.result(binding)
    end
def to_xml
      template_path = File.join(File.dirname(__FILE__), '..', '..', 'templates', 'schema.xml.erb')
      template_text = File.read(template_path)

      erb = if RUBY_VERSION >= '2.6'
        ERB.new(template_text, trim_mode: '-')
      else
        ERB.new(template_text, nil, '-')
      end

      erb.result(binding)
    end
Return an XML representation of this schema using the ERB template