|
All xmlWriter objects output to either a file
(xmlWriterNewToFile()) or to an
in-memory variable (xmlWriterNewToString()). You may also tell
it to automatically indent the contents, with
xmlWriterSetIndent().
The XML prolog (the <?xml version=...) is created with
xmlWriterStartDocument(). While not absolutely required to be
well-formed XML, it is recommended that all XML documents have an XML
prolog.
SEE ALSO
xmlWriterNewToFile,
xmlWriterNewToString,
xmlWriterSetIndent,
xmlWriterStartDocument
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|