XML and the developer

Ok, here’s a question? Am I the only one that loves the flexibility, self documenting nature, and general coolness factor of XML? And am I the only one that detests working with the DOM? My buddies and I have been coding together for over 3 years now. We’ve been using XML almost exclusively for data storage and communication. We love it, but we all hate working with the DOM. It’s tedious at best. We’ve written a wrapper to sit on top of the DOM. It contains the basic DOM functions for traversal, along with some STL adaptors so we can iterate over XML data trees using STL algorithms. We can iterate over a collection of nodes and extract a given bit of info, using XPath. We can generate new XMLNode trees from a collection of strings, structs, etc. We’re working on getting it out, but in the meantime, I’m curious if anyone else has any solutions that they use? Is everyone just a DOM user? Do you have wrappers? Anyway, I’m curious to hear about anyone else’s experience.


Comments are closed.