I'm trying to have CF write a painfully simple xml file, basically
just a list of sequentially numbered image tags.  I keep getting this
error:
"The markup in the document following the root element must be well-formed."
Can anyone help?
Thanks,
Les

<cfxml variable="GalDoc">
<?xml version="1.0" ?>
<cfloop index="LC" from="1" to="20">
 <cfoutput>
   <img src="../160_#z#.jpg" width="540" height="360" />
   <cfset z=z+1>
 </cfoutput>
</cfloop>
</cfxml>

<cffile action="write" file="#directory#gallery.xml"
output="#ToString(GalDoc)#">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to