The following steps summarize the process of parsing XML documents using the z/OS XML parser with validation:
Tip: For increased performance, the caller can use the control service in place of the termination and initialization services. The control service enables the PIMA to be reused, avoiding the need to free resources and re-initiate a new PIMA. However, the PIMA can only be reused in this way when the XML documents are in the same encoding. See gxlpControl — perform a parser control function and GXL1CTL (GXL4CTL) — perform a parser control function for more information on the control service.