Add bool_representation option to update XML boolean format.

Signed-off-by: Haruaki Otake <aaharu@hotmail.com>
Merge pull request #1786 from aaharu/xml_boolean

Update XML boolean format.