Forum: Ruby on Rails Problem with parsing xml

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bishal A. (Guest)
on 2008-10-15 08:03
I need to parse a xml like the following...which is the response of the
restful web service produced by Jersey.

<articles uri="http://localhost:8080/JavaNews/resources/articles/">
−
<articleRef uri="http://localhost:8080/JavaNews/resources/articles/...
<id>1</id>
<title>Nepal japan RElations</title>
</articleRef>
−
<articleRef uri="http://localhost:8080/JavaNews/resources/articles/...
<id>2</id>
<title>this is test</title>
</articleRef>
</articles>


Now i need to take out the title of the xml response from a restful web
service. Any help ???
This topic is locked and can not be replied to.