/// <summary> /// Saves the <see cref="SchematronDocument"/> to the specified <see cref="StringBuilder"/>. /// </summary> /// <param name="s">The <see cref="StringBuilder"/> used to save the document.</param> public void Save(StringBuilder s) { SchematronWriter w = new SchematronWriter(); w.WriteDocument(this, s); }
/// <summary> /// Saves the <see cref="SchematronDocument"/> to the specified <see cref="TextWriter"/>. /// </summary> /// <param name="writer">The <see cref="TextWriter"/> used to save the document.</param> public void Save(TextWriter writer) { SchematronWriter w = new SchematronWriter(); w.WriteDocument(this, writer); }
/// <summary> /// Saves the <see cref="SchematronDocument"/> to the specified <see cref="Stream"/>. /// </summary> /// <param name="s">The <see cref="Stream"/> used to save the document.</param> public void Save(Stream s) { SchematronWriter w = new SchematronWriter(); w.WriteDocument(this, s); }
/// <summary> /// Saves the <see cref="SchematronDocument"/> to the specified path. /// </summary> /// <param name="path">The filename to save the document to.</param> public void Save(string path) { SchematronWriter w = new SchematronWriter(); w.WriteDocument(this, path); }