Get Inner Xml
using System.Xml.Linq; namespace jQueryBuddy.Utilities { public static class XElementExtensions { public static string InnerXml(this XElement element) { var reader = element.CreateReader(); reader.MoveToContent(); return reader.ReadInnerXml(); } } }