Finishing

Documents are finished with a xmlWriterEndDocument(). It closes any open tags, prevents any further accidental writes from occurring to the writer, and if the writer was created with xmlWriterNewToFile(), it closes the file handle.

The content of a writer created with xmlWriterNewToString is still availble (via xmlWriterGetContent) after xmlWriterEndDocument is called.


SEE ALSO
xmlWriterEndDocument


Copyright © Thunderstone Software     Last updated: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.