|
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: Mon Feb 18 10:28:15 EST 2013
|