Silly terminal-print script to look through things, make template valid xml