Simple and straightforward XML parsing and composing library, characterized by it's small memory footprint.
The library has been updated and moved under the co5e umbrella.
Due to its small footprint it can be used in budget friendly, economic controllers. Since the library is able to read small chunks of files into memory (or write small chunks to disk) the buffer can be any arbitrary size, as defined by the user.
This library contains means for
XML Control solution, a simple but very effective FB to compose structured XML tags with or without parameters,
File Control solution, to open/close/read/write files, (W)StringBuffer solution to compose strings in memory.
The example project now contains an additional application which includes a pretty large demo xml file to demonstrate this behavior.
The maximum memory buffer size (parameter) is set smaller than the xml file size.
One FB gets the recipe names from the file and stores the location in the file where the recipe is.
Another FB can read the children of the recipe. This way not all data has to be parsed, but only the required data. This keeps not only the memory buffer small, but also the structures which contain the data.
A new version of this library can now be downloaded via:
https://github.com/HAHermsen/co5e-XML-File-Handling