XmlStreamWriter.finish

string finish() @safe

Finishes the document and returns the accumulated output.

Returns

XML output.

Throws

XmlException if there are unclosed elements.