Little refactor on xml_formatter.
Little refactor on xml_formatter.

andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics