I wonder why do you read from .fet file with xml parser and write to .fet file using raw QString appending, not using DOM classes.
You are right, it is not a uniform treatment. It is because in Qt documentation they say that XML can be wrote using direct QString (like I did), it is easier like I did, and I didn't care about using a uniform treatment (though it is not perfectly elegant).