how about...

<cfloop>
<cfoutput><a
href="#myItems[i].link.xmltext#">#myItems[i].title.xmltext#</a><br>
#myItems[i].description.xmltext#</cfoutput><hr>
<cfsavecontent varValue="stuff and cf code here">

<cffile 
  action = "write" 
  file = "c:\inetpub\wwwroot\feedoutput.txt"
output = "#varValue#"
  addNewLine = "No"> 

</cfloop>


tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-----Original Message-----
From: jeremy [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 23, 2003 2:48 PM
To: CF-Talk
Subject: <cfset = contents of array?>


Having trouble here. I am writing the contents of and array out like so

<cfoutput><a
href="#myItems[i].link.xmltext#">#myItems[i].title.xmltext#</a><br>
#myItems[i].description.xmltext#</cfoutput><hr>
</cfloop>

After it is looped through and displayed I want to write this to a text
file. So right after the above code I did

<cffile 
  action = "write" 
  file = "c:\inetpub\wwwroot\feedoutput.txt"
output = ""
  addNewLine = "No"> 

Problem I am having is how do I get the looped through content into the
output = "". There must be a easy way. I can't seem to get a large
<cfset mycontent = "<cfoutput><a
href="#myItems[i].link.xmltext#">#myItems[i].title.xmltext#</a><br>
#myItems[i].description.xmltext#</cfoutput><hr>
</cfloop>"> to work.


jeremy




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to