using System; using System.Xml; public class Test { public static void Main() { string xml1 = @" Body text!!! "; string xml2 = @" Body text 2!!! "; XmlNode body1 = GetBody(xml1), body2 = GetBody(xml2); Console.WriteLine(body1.InnerText); Console.WriteLine(body2.InnerText); } private static XmlNode GetBody(string xml) { XmlDocument doc = new XmlDocument(); doc.LoadXml(xml); XmlNamespaceManager nsm = new XmlNamespaceManager(doc.NameTable); nsm.AddNamespace("soap", "http://s...content-available-to-author-only...p.org/soap/envelope/"); XmlNode body = doc.SelectSingleNode("/soap:Envelope/soap:Body", nsm); return body; } }