EncodeForXMLAttribute()
Encodes the given string for safe output in XMLAttribute to stop Cross Site Scripting attacks.
Requires Extension: ESAPI extension
EncodeForXMLAttribute( string=string, canonicalize=boolean );
Returns: String
Examples
There are currently no examples for this function.
See also
- Encode/Decode
- XML
- XmlFormat()
- string.encodeForXMLAttribute()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)