public override string ToString() { this.MoveToRoot(); StringBuilder sb = new StringBuilder(); EncodingFallbackAwareXmlTextWriter writer = new EncodingFallbackAwareXmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture)); writer.WriteNode(this, false); return(sb.ToString()); }
public override string ToString() { this.MoveToRoot(); StringBuilder sb = new StringBuilder(); EncodingFallbackAwareXmlTextWriter writer = new EncodingFallbackAwareXmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture)); writer.WriteNode(this, false); return sb.ToString(); }