print_data_container_file.py

The print_data_container_file.py script prints the contents of a MATRIXX data container (MDC) file in XML format. The file can be a transaction log file, MATRIXX Event File (MEF), checkpoint file, or any MDC.

Syntax

print_data_container_file.py [-h] [-d] [-E] [-m mdc] -f filename [--hex] [-v] [-q] [-x] [-X]

Options

-h, --help
Prints help information for this script.
-d, --debug
Prints more messages for help with debugging this script.
-E, --element_xml_output
Prints the output in element-based XML
-m, --mdc

Prints the contents of the specified compact MDC (CMDC). For example, print an MDC from the debug log:

print_data_container_file.py --mdc='<1,0,0,536,4500,1>[1,{<1,0,0,537,4500,1>[65537,5]}]'

-f, --file
Specifies the input filename.
--hex

Indicates that the input file has ASCII characters of the hexadecimal representation of a data container. If the input file is in XML format, the -x or --xml option must also be specified.

-v, --verbose
Prints all fields in the data container even if they are not present. If this option is not specified, only the fields that are present are printed.
-q, --quiet
Prints only the data container. If this option is not specified, the verbose value and the filename are printed before the data container is printed. A line of dashes is printed after every data container but only if quiet mode is not specified.
-x, --xml
Indicates that the input file has an XML representation of a data container. If this option is not specified, the input file must be in compact format.
-X, --xml_output
Indicates that the output format is an XML representation of a data container.

Print the File Contents in Element-Based XML Format

print_data_container_file.py -E exports/mtx_export_v4300.1.1359581976/contents.gz