Previous Next

END-DOCUMENT( ) method
Closes the XML document represented by a SAX-writer object.
Return type:
Applies to:
 
Syntax 
END-DOCUMENT( )
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:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.