[PDI-11938]: XML Output not well-formed when '&' char in attribute

There are a fix and unit test.
Merge pull request #658 from TatsianaKasiankova/PDI-11938

[PDI-11938]: XML Output not well-formed when '&' char in attribute