Add documentation for C code (largely based on xmlsoft examples)