I have some XML documents that I'd like to server from Sinatra. I did some searching but couldn't find anything specific. I did find the builder gem but I don't want to build the document from scratch.
I tried to do something like this
get '/'
xml = '<?xml version=\"1.0\" encoding=\"UTF-8\"?> <name>My name</name> <age>90</age>'
body xml
end
but that will add the HTML tags around it. It's probably something really basic I'm missing. Can you point me in the right direction please?