XmlFormat
Escapes special XML characters in a string, so that the string is safe to use with XML.
XmlFormat( string=string );
Returns: String
Examples
string = "I like peanut butter & jelly.";
dump(XmlFormat(string)); // I like peanut butter & jelly.