Micro XML parser, implemented in pure C