j l

j l

  • NA
  • 59
  • 0

Parsing a XML Document

Feb 12 2010 4:41 PM

I am using Visual Studio 2010 Ultimate Evaluation. In the "Web test" environment
I have a web service called "Add".
It simply takes 2 numbers, sums them, and gives a result.  (example 1+1)
The result is loaded in a stand-alone page with a URL "http://localhost:xxxx/MathService.asmx/Add
And the result is given by xML :
<?xml version="1.0" encoding="utf-8" ?>
  <int xmlns="http://tempuri.org/">2</int>
 
My Question is "how do I parse the result ,2, within the XML"? 
 
I am a newbie at C#
 
~Jae
 

Answers (10)