<!--- Define ColdFusion XML document object (XSLT). ---> <cfxml variable="xmlTransform"> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!--- Match root element of XML document. ---> <xsl:template match="/"> <!--- ... more code here ... ---> </xsl:template> </xsl:transform> </cfxml> <!--- Tranform xmlFoot using xmlTransform XSLT. ---> <cfoutput> #HtmlEditFormat( XmlTransform( xmlFoot, xmlTransform ) )# </cfoutput>