I want the C code for the attached algorithm to store an XML document in a relational database. I want this asap, i.e. within a day or 2 max. Also make sure to properly explain the code with comments.
Note: My budget is very minimal as it's not my project, I'm putting it up to help a friend of mine.