public static string ParseSimpleElement(this XmlTextReader reader) { var name = reader.Name; reader.Advance(XmlNodeType.Text); var content = reader.Value; reader.Advance(XmlNodeType.EndElement, name); return(content); }
public static string ParseSimpleElement(this XmlTextReader reader) { var name = reader.Name; reader.Advance(XmlNodeType.Text); var content = reader.Value; reader.Advance(XmlNodeType.EndElement, name); return(content); }