Hi,
I wanted to use the same xml library in sleek without adding another one.
Furthermore, the escaping done is not enough : Escape '&', '<', and '>' in a string of data, says the documentation. We also need to escape '\n', single and double quotes, according to test_tostring.testXMLEscape.