<response>
<user id="0">
<name>user1</name>
<lastseen>19:30:00</lastseen>
</user>
<user id="1">
<name>user2</name>
<lastseen>19:27:00</lastseen>
</user>
</response>
That's my xml document and I need to individually get each user's name and time last seen. How can I parse this xml like that with JavaScript?