In running through a shopping cart codebase (cartweaver), I decided to change a chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this was for building an XML packet, it looked logical to me. No real savings in code size but to me it just looked cleaner and looked like 'less' operations.
Question: What is your preference in such situations. Multiple CFSETs with each adding a new line of XML to the variable or a block of CFSAVECONTENT with the entire block wrapped in a CFOUTPUT? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220654 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54