Skip to main content
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Ryan Vikander and Kashif Khan and John Hiner
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Ryan Vikander ( @rvikander ) Kashif Khan John Hiner

XDOM.cfc - A ColdFusion Component For Easier XML Traversal, Manipulation, And Merging

By on

Yesterday, I shared some thoughts about XDOM.cfc - a ColdFusion component that provides an easier API for XML traversal, manipulation, and merging. Inspired by jQuery, XDOM.cfc maintains an internal collection of XML nodes that can queried and altered as a whole. Right now, there are only a few traversal and manipulation methods; but, I hope to add to those over time. If you want to take a look at the code, you can download it from the XDOM.cfc project page.

As always, if you have any suggestions on ways this can be improved, I'd love to hear them.

Reader Comments



Is funny you mention that - I thought some soft of toQuery() method would be player. I pictured it as some sort of parent/child query table. But the XDOM instance might contain multiple top-level nodes. As such, I wasn't sure how to think about it. Perhaps it would only convert the first node in the collection? Or do you think it should try to convert them all?

I probably should get on GitHub, right? I have an Apress coupon sitting around; perhaps it's time I get a book on Git and get my "learn" on. Seems to be what all the cool kids are using these days.


The definitive guide is "Pro Git" by Scott Chacon and is available in its entirety online at . Amazon also has them for ~$20. (And it's from Apress.)

If you'd be interested in more interactive training, may I offer my services? Given your contributions to the community, I'd be happy to do a pro bono 2-hour webinar for you and whomever else you'd like.

Even if you want the down-and-dirty command line level tour, that only takes ~90 minutes for all but the really advanced stuff. A GUI-based intro takes about half that time. The rest of time could be used to talk about architecture and development patterns that Git enables.

I know the holiday season has everyone busy, so just consider that an open offer.



I think that is the book I was checking out the other day. We use SVN at work; but, Git seems much more "community" friendly.

I really appreciate the offer - that's super kind of you. Perhaps that's an idea we can turn into some sort of screen recording. I'll hit you up via email.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel