Program crashing when there is a nil value for an element in XML file. Didn’t knew that… Back to drawing board. Reading FreePascal XML Tutorial again…
A work around is easy (now that we know the problem) but lets do it right if possible. As of now, the XML files are created in a raw way, without using the XML library because is easier and faster and we work with simple data.
Well, the tutorial is not useful for this case, I’ll take a look at the sources of the XML unit.
EDIT: The workaround was faster and cleaner…