The XML module has an escaper
# suitescript
z
The XML module has an escaper