XMLPARSE

XMLPARSE indicates which parser is to be used for processing XML input, and therefore which XML parsing capabilities are available.

Syntax

Read syntax diagramSkip visual syntax diagramXMLPARSE=*XMLSSCOMPAT
Default
XMLPARSE=XMLSS
COMPAT
XML PARSE statements are processed using the XML parser that is a built-in component of the COBOL library. The XML PARSE statement results and operational behaviors are then compatible with those obtained with Enterprise COBOL Version 3, and also with Version 4 when XMLPARSE(COMPAT) was used.
XMLSS
XML PARSE statements are processed using the z/OS® XML System Services parser. The following XML parsing capabilities are available only when this suboption is in effect:
  • Namespace processing enhancements
  • The ENCODING, RETURNING NATIONAL, and VALIDATING phrases of the XML PARSE statement
  • Support for direct parsing of XML documents encoded in UTF-8
  • Support for parsing very large XML documents, a buffer of XML at a time
  • Offloading of XML parsing to System z® Application Assist Processors (zAAPs)