I indeed have some clumsy XML stuff running in Lite-C. Unfortunately it is not 100% comaptible to every XML file as I forgot to add some stuff. Will have to change that when I have some more free time again I think.
Also there is no good error handling, so don't try to break it with invalid XML files - you'll be successful in breaking it
xmlsample.c should be in subfolder 'samples'
list.c/h in subfolder 'list'
xmlreader.c/h in subfolder 'xmlreader'
You may need to adjust include pathes when moving files around.
xmlreader.c:
http://pastebin.com/MnHXsx74xmlreader.h:
http://pastebin.com/gUw8VpUvlist.c:
http://pastebin.com/VvqfH5Kxlist.h:
http://pastebin.com/3zCpJYfvA hastily written sampel script:
xml_sample.c:
http://pastebin.com/xmeZSH3htest.xml (used in xml_sample.c):
http://pastebin.com/3XRis38qProvided as is. Hate it or love it.