Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


XMLPARSE

Use XMLPARSE to select the parser that you want to use for XML processing and, therefore, the XML processing capabilities that are available to your program.

Read syntax diagramSkip visual syntax diagram
XMLPARSE option syntax

             .-XMLSS--.     
>>-XMLPARSE(-+-COMPAT-+-)--------------------------------------><

Default is: XMLSS

Abbreviations are: XP(X), XP(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 when the XMLPARSE(XMLSS) option is specified:

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 run time. XML PARSE statement results and operational behaviors are compatible with those of Enterprise COBOL Version 3. When you specify XMLPARSE(COMPAT), Enterprise COBOL does not support the advanced features described above for XMLPARSE(XMLSS). The syntax for the RETURNING NATIONAL and ENCODING phrases of the XML PARSE statement is not accepted.

related tasks  
Processing XML input  

related references  
XML PARSE statement (Enterprise COBOL Language Reference)    
z/OS XML System Services User's Guide and Reference  


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)