XML + Rails

What is the best/simples way to: Read XML-file => Edit it on HTML-form
=> save back to XML?