Safely Generating XML Data

Generating XML data? Your text may contain characters that may not be used within XML text (for example, the less than symbol, the ampersand, and quotes). These characters must be escaped so that they do not interfere with XML data processing. To be safe, any and all data within an XML document should be generated using the XMLFormat() function which returns an escaped version of a passed string (if it needs escaping). (Applies to: ColdFusion 4.5)

Leave a Reply