*Solved by myself. The saved files just required some whitespace and/or indents to work.
Hi. I am currently experimenting with a maze-game, and I am working on an editor for it.
At this time, I am working on a save/load function that use xml.
I manually created a test-document while writing the load-function, and it went well. The end result was exactly as i described in the manually written xml document.
testmaze.jpg
However, when working on the save-function, I set it to first load my manually written test, then save the data (in other words, a copy).
When loading the copy, things didn't go as planned.
testsavemaze.jpg
For some reason, all the walls are up, when only the ones on the outside and around the center is supposed to.
The .xml files are in the attached .zip.
Also in the .zip is the source-codes for the save and load classes.