[][src]Function somedoc::write::write_document_to_string

pub fn write_document_to_string(
    doc: &Document,
    format: OutputFormat
) -> Result<String>

A convenience function that will return a String containing the output of the DocWriter for the given Document instance.