The following sections display the output of the COBOL program that is run and the XML document that is generated.
Example-08 - Illustrate TEST-WELLFORMED TEXT & VALIDATE 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 20:20:14.48 Document checked by XML TEST WELLFORMED-TEXT Document validated by XML VALIDATE TEXT Document memory 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 20:20:14.48 Document memory written by XML PUT TEXT Document memory released by XML FREE TEXT address08.xml imported by XML IMPORT FILE 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 20:20:14.48 You may inspect 'address08.xml' Status: +0000 Press a key to terminate:
Microsoft Internet Explorer may be used to view the generated XML document, address08.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.)