Click here for larger image
Environment: Windows compiler for the GUI, ANSI C for the XML Parser.
The idea of this project was simply to write a basic XML parser in ANSI C for portability. The parser is reasonably forgiving as I have only a fairly rudimentary knowledge about XML and wanted to keep the code reasonably straight forward.
When XML has been entered into the edit box and Parse selected from the menu the tree view will be updated. After the tree view has been updated you can select items in the tree view and it should also select the appropriate text in the edit window.
Note: Currently you need to reparse when you have updated the edit window before you can rely on the tree control being updated, I haven't yet had a chance to automatically update the tree control when updates occur.
There are one are two bugs which need ironing out (nobodys perfect!), if enough people spot them I'll have a look at them.
DownloadsDownload demo project - 22.2 Kb
Download source - 29.2 Kb