If you need a report in a machine-readable format, you can create a report in extendable mark-up language (XML) format. XML is a self-describing document that identifies each data element and moves serially through the list of errors. A report in XML format would look as the example shown below. You can either have a separate header segment or just the errors.

Sample of a report in XML format.