END-DOCUMENT( ) method
Closes the XML document represented by a SAX-writer object.
Return type: LOGICAL
Applies to: SAX-writer object handle
Closes the XML stream. This is the logical conclusion of creating the XML document.
If you call this method before the START-DOCUMENT method, the method fails. WRITE-STATUS must not be SAX-WRITE-IDLE or SAX-WRITE-COMPLETE when you call this method. END-DOCUMENT changes WRITE-STATUS to SAX-WRITE-COMPLETE.
If the STRICT attribute is TRUE and the final tag has not been closed (that is, the root node), then this method fails.
See also: START-DOCUMENT( ) method
OpenEdge Release 10.2B
|