Does the XML library handle encoding or do we have to encode this string too?