public static NodeToString ( this xmlElement ) : string | ||
xmlElement | this | The node |
return | string |
public static string NodeToString(this XmlElement xmlElement)
{
var sw = new StringWriter();
var xw = new XmlTextWriter(sw);
xmlElement.WriteTo(xw);
return sw.ToString();
}