Skip to content

Miscellaneous

toXHTML()

toXHTML() — returns any

Returns an XHTML-compliant string.

NameTypeRequiredDefaultDescription
textstringyesString to make XHTML-compliant.
toXHTML(text) <!--- Outputs `productId=5&amp;categoryId=12&amp;returningCustomer=1` --->
<cfoutput>
    #toXHTML("productId=5&categoryId=12&returningCustomer=1")#
</cfoutput>