10
Answers

Parsing a XML Document

j l

j l

14y
4.7k
1

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)