David Moore wrote:
> How would I go about creating a dynamic file on the fly from a CF Query
>   

Exactly like you would create dynamic HTML.  ColdFusion does not care 
what text it creates and will do what ever you direct it to.  You can do 
it all manually or use the built in XML functionality.  Be careful of 
whitespace, XML often cares more about this then HTML would.
<cfsilent>
    <cfquery ...>...</cfquery>
</cfsilent><xmlRoot>
  <cfoutput query="theQuery">
    <aNode>#theQuery.aColumn</aNode>
    <bNode>#theQuery.bColumn</bNode>
 </cfoutput>
</xmlRoot>

There are much more sophisticated ways to do this, but at the most basic 
XML generation is no different then any other output.



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312037
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