escapes characters for xml properly now.
adding version