var xmlEscapedUrl = xml.escape({ xmlText : url });
# suitescript
a
var xmlEscapedUrl = xml.escape({ xmlText : url });