0

I've managed to parse xml responses from a SOAP web service when I receive it in the following format:

<node>data</node><node2>moredata</node2>

i've been using a document builder to help with this...

However, I'm now receiving the string in the following format:

<session id='5643' spotName='Big Bay' starRating='3'></session>

I literally have zero idea how to get at the session data, which is the data I would like.

Any help is appreciated...

Thanks.

Nick L
  • 3
  • 1

1 Answers1

0

See if that answer helps you:

https://stackoverflow.com/a/9254164/1204249

Community
  • 1
  • 1
amp
  • 11,754
  • 18
  • 77
  • 133