|
SYNOPSIS
int xmlWriterEndDocument(xmlWriter writer)
Parameters:
Returns:
- the bytes written (may be 0 because of buffering) or -1 in case
of error
DESCRIPTION
xmlWriterEndDocument() completes the XML document being
written. If there are any open elements, they are closed
automatically.
If this writer was created with xmlWriterNewToFile, then the
file handle for the writer is closed.
EXAMPLE
<$ret = (xmlWriterEndDocument($writer))>
SEE ALSO
xmlWriterGetContent
Copyright © Thunderstone Software Last updated: Thu Dec 22 15:13:31 EST 2011
|