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#">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283879
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to