Convert giant quotes switch-case to list
Quickly read XML file into cElementTree object