XMLWriter::endDocument

JavaScript Editor Javascript debugger     Website design 

XMLWriter::endDocument

End current document ()
bool xmlwriter_end_document ( resource xmlwriter )

Object oriented style:

XMLWriter {
  bool endDocument();
}

Procedural style:

Ends the current document.

Parameters

xmlwriter

Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().

Return Values

Returns TRUE on success or FALSE on failure.