A PHP script to cleanup & restructure EAD XML files.