There is an xml
file:
<result> <response> <code>200</code> </response> <tracks> <track id="XXXXXXXX"> <code>402</code> </track> </tracks> <geo></geo> </result>
You need to get a variable of type string
in which the value of the " тега
"
result=>code=>tracks=>track id="XXXXXXXX"=>code
That is, 402 .
I could only upload xml
:
XDocument Info = XDocument.Load("http://xxx.xx/id=" + textBox1.Text);
The value of the textBox
'and in this case XXXXXXXX