Char escaping in xml implemented