Reviewer AMC: Add xml escaping function