ForXml wrong value and last bracket fix

SubString format fix and removed unused method.
Merge branch 'master' of G:/Serenity
Merge branch 'master' of G:/Serenity