I'm struggling to figure out XPath and REXML, every single thing I try, even copied from books, returns nil. And I'm trying to do the simplest possible output of data... my file looks like
<profile>
<userid>3002</userid>
</profile>
I want to get 3002
out. What on Earth do I do?