Replace the opening < character in any tag you want to output with
#chr(asc("<"))# or wrap the whole tag in a string variable like
#trim('<cfset a.oBj=#dd#>')#

If you just have a lot of cfset tags, I'd think about using cfscript
with a bunch of cfset statements. Not because cfscript is faster but
because it'll be easier to generate the output.

> Hi,

> How do I stop CF from processing a block of code
> selectively  and display the cfml tags as it is?

> The reason being I want to write certain tags to .cfm file
> based on certain conditions...

> Something like this

> <cfsavecontent variable="content">

> <cfloop collection="#form#" item="ddd">
> ==========
> I want the below code to display the item value dd, but
> not process the cfset tag
> <cfset a.Obj=#dd#>
> ==============
> </cfloop>
> </cfsavecontent>

> So the variable will have a list of cfset tags which I
> will be writing to a coldfusion page


s. isaac dealey     434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235762
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to