You are viewing documentation for v1.1.x. Change

toXHTML()

Description

Returns an XHTML-compliant string.

Function Syntax

toXHTML(text)

Parameters

Parameter Type Required Default Description
text string Yes String to make XHTML-compliant.

Examples

<!--- Outputs `productId=5&amp;categoryId=12&amp;returningCustomer=1` --->
<cfoutput>
    #toXHTML("productId=5&categoryId=12&returningCustomer=1")#
</cfoutput>