August 2003
Intermediate to advanced
1140 pages
68h 45m
English
XmlFormat
XMLFormat(string)Returns string in a format that is safe to
use with XML by escaping the following special characters: ampersands
(&), double quotes ("),
greater-than signs (>), less-than signs
(<), and single quotes (').
Example:
<cfset MyString="Here is an example of the XMLFormat function: 5+5<20"> <cfoutput>#XMLFormat(MyString)#</cfoutput> <p><I>View the page source to see the escaped text.</I>