add option to generate xml types at command line