Escape the value for insertion in xml output.
For example:
{{ value|escapexml }}
When the value is <hel'lo> then the output is <hel'lo>.
<hel'lo>
<hel'lo>