def process_cmd(cmd_name, args, orig_cmd_path):
    """
    import and call the main() function from the module
    xmlcmd._{cmd}
    """
    module = __import__('xmlcmd._%s' % cmd_name, fromlist=['_%s' % cmd_name])
    raise SystemExit(module.main(args, orig_cmd_path))
