fix for xml escaping

this pull request contains a fix for xml escaping