XMLPARSE
Use XMLPARSE
to select the parser to
be used for processing XML input, and, therefore,
the XML processing capabilities that are available to your program.
Default is: XMLSS
Abbreviations
are: XP(X | C)
If you specify the XMLPARSE(XMLSS)
option, XML
PARSE
statements are processed using the z/OS® XML System Services parser.
The following XML parsing capabilities are available only if you specify XMLPARSE(XMLSS)
:
- Validation of XML input documents against an XML schema
(by using the
VALIDATING
phrase of theXML PARSE
statement) - Enhanced namespace processing (special
registers
XML-NAMESPACE
,XML-NNAMESPACE
,XML-NAMESPACE-PREFIX
, andXML-NNAMESPACE-PREFIX
) - Automatic conversion
of document fragments to Unicode UTF-16 (by
using the
RETURNING NATIONAL
phrase of theXML PARSE
statement) - Specification of the encoding of
the input document (by using
the
ENCODING
phrase of theXML PARSE
statement) - Direct parsing of XML documents encoded in UTF-8
- Parsing of XML documents, a buffer of XML at a time
- Offloading of XML parsing to System z® Application Assist Processors (zAAPs)
If you specify the XMLPARSE(COMPAT)
option, 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, and the advanced features described above
for XMLPARSE(XMLSS)
are not available.
XML PARSE statement (Enterprise COBOL for z/OS Language Reference)
z/OS XML System Services User's Guide and Reference