You can process XML input in your COBOL program by using the XML PARSE statement. The XML PARSE statement is the COBOL language interface to the high-speed XML parser, which is part of the COBOL run time.
Processing XML input involves control being passed to and received from the XML parser. You start this exchange of control with the XML PARSE statement, which specifies a processing procedure that receives control from the XML parser to handle the parser events. You use special registers in your processing procedure to exchange information with the parser.
Use these COBOL facilities to process XML input:
related concepts
XML parser in COBOL
related tasks
Accessing XML documents
Parsing XML documents
Understanding the encoding of XML documents
Handling exceptions that the XML parser finds
Terminating XML parsing
related references
Appendix F. XML reference material
Extensible Markup Language (XML)