Change XML syntax for flags.