Inside Coldfusion MX

"-->

XmlFormat (string)

Description

Escapes special XML characters in a string so that the string is safe to use with XML.

Example

<?xml version = "1.0"?> <cfoutput> <XMLExample> <ElementOne Attribute = "#XMLFormat("'a value'")#> #XMLFormat("ElementText")# </ElementOne> </XMLExample> </cfoutput>

Категории