Hi, I was wondering. Do you guys think this is a good idea (so it doesn't require a lot of work and is portable):

I have to read and parse xml...which I have to represent to the user in some sort of QTableWidget...then the user has to be able to edit some of the data (values of elements of XML)... and then I have to store the changed data in the the XML form again.

So my ideas is this: I would create a virtual sqlite database (that would only be present in memory), create some database, and save the XML data in the database table...then this is easily represented by QSqlRelationalTableModel which also enables me to change data...so the changed data would be stored in a database...which I would only have to parse back into xml file when I'm done.

So, did I miss something crucial, so that the whole idea is not so good? Or is it a lot more complicated than it seems to be?

Any thoughts are welcome.