Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Using XML and COBOL together

Processing XML input
XML parser in COBOL
Accessing XML documents
Parsing XML documents
The content of XML-EVENT
Example: processing XML events
Writing procedures to process XML
Example: parsing XML
The content of XML-CODE
The content of XML-TEXT and XML-NTEXT
Transforming XML text to COBOL data items
Understanding the encoding of XML documents
Coded character sets for XML documents
Specifying the code page
Handling exceptions that the XML parser finds
How the XML parser handles errors
Handling conflicts in code pages
Terminating XML parsing
Producing XML output
Generating XML output
Example: generating XML
Program XGFX
Program Pretty
Output from program XGFX
Enhancing XML output
Example: enhancing XML output
Example: converting hyphens in element names to underscores
Controlling the encoding of generated XML output
Handling errors in generating XML output

Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)