fix typos and build warning

- correct some double backslashes
- correct wrong indentation
- correct missing backtick
rephrase sentence on Xml::build()
Merge pull request #1718 from antograssiot/3.0

3.0 fix typos and build warning