I like to do my server side programming in C, but need to inter-operate with some XML.
What I need to write is some function that, given a C structure, or nested structure, and another structure (or nested structures) that describes the elements in the C structure, spits it out as XML. And another function that reads the XML, verifies that it matches the description of the C structures, and populates the C structures.
I'm quite certain this has been done many times before, but there is so much other info about XML out there that I'm not having any luck composing a Google query that doesn't return a lot of unrelated stuff.
I'm not looking for a library - just a few hundred lines of C code to parse the XML.