try using <img src="<cfoutput>#xmlformat(homepage.cb_imaged_resized)#</cfoutput>" />
On 7/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Any ideas? I'm getting the following error message ... > > The following information is meant for the website developer for debugging > purposes. > > Error Occurred While Processing Request > An error occured while Parsing an XML document. > The entity name must immediately follow the '&' in the entity reference. > > The error occurred in D:\Inetpub\wwwroot\Yobaby\index_CB_test.cfm: line 29 > > 27 : <CFloop query="homepage"> > 28 : <img src="<cfoutput>#homepage.cb_image_resized#</cfoutput>" /> > 29 : </CFLOOP> > 30 : </album> > 31 : </gallery> > > > > > > > CODE > > > <!--- WRITE XML DOCUMENT ---> > <CFQUERY name="homepage" datasource="#datasource#"> > SELECT * > FROM dbo.tbl_contest_2007 > WHERE (cb_email_confirmed = 1) AND (cb_image_resized IS NOT NULL) > </CFQUERY> > <!--RENAME XML FILE WITH CURRENT DATE TO KEEP A HISTORY ... --> > <CFXML variable="gallery"> > <gallery> > <album title="Contest" description="Contest" > lgPath="/images/contest/2007/large/"> > <CFloop query="homepage"> > <img src="<cfoutput>#homepage.cb_image_resized#</cfoutput>" /> > </CFLOOP> > </album> > </gallery> > </CFXML> > <cffile action = "write" file = "images_cb.xml" output = "#gallery#"> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283902 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4