Functions and Directives

Function XMLDocProcess() Professional

Execute action code blocks for all tags.

XMLDocProcess( <nDocHandle> ) --> lSuccess
Numeric handle for an XML document.

Returns .T. (true) if all action code blocks have been executed successfully or .F. (false) otherwise. If the function returns .F., more information can be obtained by calling XMLDocGetErrorList().


This function executes all action code blocks registered for an XML document using XMLDocSetAction(). The evaluation of the action code blocks is controlled by the return value of a code block. Possible values are equivalent to #define constants listed in ASXML.CH.

Return values of action code blocks
Constant Description
XML_PROCESS_ABORT Aborts execution of any other action code blocks
XML_PROCESS_CONTINUE Executes next action code block


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.