The easiest way...
<cfxml variable="myXML">
<things>
<cfoutput query="myQuery">
<thing>#myQuery.myColumn#</thing>
</cfoutput>
</things>
</cfxml>
There's no real trick to creating the XML.
If you're looking for something that turns a query into XML, check
cflib.org.
Adrian
-----Original Message-----
From: CFDEV [mailto:[EMAIL PROTECTED]
Sent: 13 May 2008 15:24
To: CF-Talk
Subject: CF8 / CFXML
Does anyone have an example on creating an xml file based on data being
pulled from a query?
I have found a few examples (google) but not quite there yet.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305155
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4