Image description: XML parsing flow overview

This image shows the flow of control between a COBOL program and the XML parser.

The following steps are shown:

  1. The XML PARSE statement transfers control to the parser.
  2. The parser detects an XML event, then returns control to the program's processing procedure.
  3. The processing procedure performs appropriate application logic, then returns control to the parser.
  4. Steps 2 and 3 continue until the end of the document is reached. The parser then returns control to the program at the end of XML PARSE statement processing.

End of image description.