%XML_FreeDocument function


Function
The function releases the XML document from the memory.
Declaration


BOOL %XML_FreeDocument(
    INT in document
 )
Parameters


documentHandle to XML document.
Return value
@TRUE - document released, @FALSE - cannot release the document.
Description
Having finished work with a XML document, it is necessary to release it from the memory using the function. At the same time, all handles connected to the document are invalid.
Example


 BOOL _ok
 _ok := %XML_FreeDocument(_doc)