<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TimNhanh_Text_ListNews_OfflineResponse xmlns="http://tempuri.org/">
<TimNhanh_Text_ListNews_OfflineResult>
<string>string</string>
<string>string</string>
</TimNhanh_Text_ListNews_OfflineResult>
</TimNhanh_Text_ListNews_OfflineResponse>
</soap:Body>
</soap:Envelope>
how i can get Node in xml ?
i use :
XDocument dataDoc = XDocument.Load(new StringReader(result));
foreach (var word in dataDoc.Descendants("TimNhanh_Text_ListNews_OfflineResult"))
{
}
but this not active.
1 Answer