ToXML CFC - Converting data types to XML

At the Spry session at CFUNITED I talked about some code I used for my various Spry demos. This code converted queries to XML objects to use for Spry. (By the way, I'm working on some code that may make it even easier to use CFCs - no more converting to XML!) I just cleaned up my demo code a bit and cleaned it up in a nice CFC. The CFC has a listToXML, arrayToXML, queryToXML, and structToXML.

Any comments are welcome.

Download attached file.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA