Yes, I do. We have a CFC (which we use in on of our SOA APIs) which will take any XML object and convert it automagically into ColdFusion objects - struct of arrays etc. It will also convert any ColdFusion object into XML the opposite way.
I would send it but I am on my BlackBerry at the moment so won't have access to my comp till later! Mail me offlist if you would like it. N "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Andy Matthews To: CF-Talk Sent: Fri Mar 09 20:38:30 2007 Subject: Convert XML doc to array or structure or query? Does anyone have code that will take an XML doc (any doc) and convert it to a series of nested structures or arrays or queries or some combination? I'm working on my basecamp API and I'd like to offer users the option of receiving the data in XML (the default format) or other formats. I checked cflib and found lots of stuff that converts those other formats into XML, but none that go the other way. ____________________________________ Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com <http://www.dealerskins.com/> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272234 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

