Lucee Function Reference

Function XMLFORMAT

Escapes special XML characters in a string, so that the
string is safe to use with XML.

Example

xmlformat(string string):string

Category

XML,string,formatting

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
string string  Yes A string or a variable that contains one