« cffile crashes out - try using java.io.BufferedWriter?
» Google Analytics - Adobe AIR Version - GAS

XML, SQL, ColdFusion

SQL XML - FOR XML AUTO

10.17.07 | Comment?

Currently working on restructuring some google sitemaps for my client. Instead of the usual query, loop, output process for a ColdFusion XML manipulation based task, I decided to get SQL server to do the work for me. Using FOR XML AUTO, ELEMENTS at the bottom of my query, I can get SQL to return the results of my query in an XML format, return it and the rest is ColdFusion work. Take a look at some articles on this topic at …

SQL Server 2000 Meets XML @ COLDFUSION DEVELOPER’S JOURNAL

EasyCFM.COM ColdFusion Tutorial:  FOR XML and Cold Fusion

Wayne Graham’s Blog: Getting XML from MSSQL Server

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

:

:


« cffile crashes out - try using java.io.BufferedWriter?
» Google Analytics - Adobe AIR Version - GAS