Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ENCODEFORXMLATTRIBUTE

This Function is deprecated
Encodes the given string for safe output in XMLAttribute to stop Cross Site Scripting attacks.
      this function is deprecated, use function ESAPIEncode('xml_attr',...) instead.

Example

encodeforxmlattribute(string string):string

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 string to encode