The following sections display the output of the COBOL program that is run and the XML document that is generated.
Example-05 - Illustrate EXPORT TEXT & IMPORT TEXT Document exported by XML EXPORT TEXT Name: Specialty Cowboy Boots Company Address-1: 1050 North San Antonio Street Address-2: Suite 200 Address-3: Austin TX78701 Country: United States of America Time-Stamp: 2013/07/01 18:37:38.72 Document imported by XML IMPORT TEXT Name: Specialty Cowboy Boots Company Address-1: 1050 North San Antonio Street Address-2: Suite 200 Address-3: Austin TX78701 Country: United States of America Time-Stamp: 2013/07/01 18:37:38.72 Document memory written by XML PUT TEXT Document memory released by XML FREE TEXT You may inspect 'address05.xml' Status: +0000 Press a key to terminate:
Microsoft Internet Explorer may be used to view the generated XML document, address05.xml. The content of this document should appear as follows. (Note that Internet Explorer will differentiate among the various syntactical elements of XML by displaying them in different colors.)