I want to generate a file (by code) that has CF tags in it so that it can be 
included into another file.  I can write in the # by escaping them, but I also 
want to escape the cold fusion tags so that they're not enacted when I write 
the file, but rather when that generated file is included in another file.

<cfsavecontent variable="xml_counts">
        <ul style="margin-top:-10px;">
        <cfloop condition="ea_date gte start_date">
                
         <cfoutput>     
<--- 
I don't want the following cfoutput tag to be enacted by rather written into 
the file, 
           so that when it's included into another file, it has the cfoutput 
tag to work.  I need to escape the tag.  How to do that?
--->                             
         <cfoutput>                                                             
                 
         <li><a href='##the_page##?archive=#the_content#</li>
                                                                                
 
        </cfoutput>
        </cfloop>
        </ul>
</cfsavecontent> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to