Bob Boursaw

Bob Boursaw

  • NA
  • 3
  • 0

Parsing XML string... Please help.. :)

Oct 15 2005 5:31 PM
Hey everyone,

I'm sure this is probably very basic but I could sure use some help.

I have a very small XML string which comes in to my application via an event.

I want to parse out the information from this string and store the bits of information in to variables.

The xml string is
<MSG><CMD>DATA</CMD><MEDIA>1</MEDIA><TASK>5680</TASK><ANI/><DNIS>6940</DNIS><DATA1>1111111</DATA1><DATA2/><DATA3/><DATA4/><DATA5/></MSG>

All I am trying to do right now is parse out the data within the DATA1 tags.

Any help would be greatly appreciated.

Thanks,
Bob

Answers (2)