Introducing input XML Formatters.

TODO: Stylecop.
XmlOutputFormatters will be in a separate PR.
If you take this, please fix the jsonformatter as well. Better if you do it in a separate PR, and please keep similar comments apply to json formatter as well