> I know it has use in passing data cross-platform and from one server to > another and I need no convincing there, but is there a reason you'd use a > XML packet output from your database instead of a query?
If all you need to do is to extract data from a RDMS and display it on a page, there is no need to ever think about XML > Any other reason > to use XML if you're not referring to importing/exporting syndicated content > with another site, another server? I may try a few examples: - I currently use XML file to store "configuration/settings" for CFCs. Basically I am slowly assembling a bunch of reusable CFCs that need to be aware of local application setting (paths, mapping, Datasources, database schemas etc). All application specific settings are stored in XML files, this way the core CFC is left untouched and can also be shared across different apps on the same server (since you dynamically load different XML files). - I do something similar for multilanguage websites, where we have to store plenty of small localized strings; in the past we use to include something like an ini file (name/value pairs in <cfscript>), now we are moving to XML as well, since it allows us to structure data in a more sophisticated way. - For simple tasks you may even consider to store data in XML format instead of a RDMS. While I am not especially enthusiast of this approach, you can find examples like Andrea Veggiani's Blog: http://www.veggiani.it/projects/cfxml_blog/ Hope it will help ---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

