The following sections display the output of the COBOL program that is run and the XML document that is generated.
Example-07 - Illustrate TEST-WELLFORMED FILE & VALIDATE FILE address07.xml exported by XML EXPORT 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:02:32.99 address07.xml checked by XML TEST WELLFORMED-FILE address07.xml validated by XML VALIDATE FILE address07.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:02:32.99 You may inspect 'address07.xml' Status: +0000 Press a key to terminate:
Microsoft Internet Explorer may be used to view the generated XML document address07.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.)