August 2001
Intermediate to advanced
976 pages
38h 8m
English
XMLFormat — New as of ColdFusion 4.5
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>
Read now
Unlock full access