House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting

Search cf-talk

August 20, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
           1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31             

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion 8 / CFXML

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
CFDEV
05/13/2008 10:25 AM

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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrian Lynch
05/13/2008 10:36 AM

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 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.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists