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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.