Posted in ColdFusion | Posted on 10-12-2007 | 2,306 views
The first update I have today is for toXML. While I find myself using JSON more, I sitll find toXML to be a very useful component. It converts arrays, lists, structs, and queries to XML. Today's update is a simple one. The queryToXML function now lets you specify the columns you want to serialize. This can help keep XML packets a bit slimmer (if only there was such an easy solution for people).
The next update will be in about two hours and will hopefully be a bit more exciting.
You can download toXML here.


I recently used your toXML but had hack it a bit to get it to work with multi-dimensional structures. A feature to consider for the next release? I'll send my code through if I manage to get the recursive version working correctly. At the moment I've just used to loops to allow for another level.
Ray, I was wondering if I could use any of your components methods in my own. I think the Query one would be very useful (of course it would be fully credited).
Dom
Dominic: Sure thing. Sounds like we've got similar products - no reason we can't share.