Problem with parsing xml

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/1/">
<id>1</id>
<title>Nepal japan RElations</title>
</articleRef>

<articleRef uri="http://localhost:8080/JavaNews/resources/articles/2/">
<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 ???