change XMLGenerator to use XMLWriter
fix tests
fix tests
fix tests
fix indent
set indent
fix test
fix output
fix tests
remove unneeded code
added rule and test
Merge pull request #223 from mimmi20/issue-221

Fixes #221
Merge pull request #222 from mimmi20/issue-183-3

Fixes #183
Roll on build number to 5027
merge from the master branch