Escape the characters &,",',<,>
&
"
'
<
>
escapeXml(x)
x
a character vector meant to be xml
character
The same character vector x but xml escaped.
https://stackoverflow.com/a/1091953/10415129