storage of data and xml

mortimer59's icon

Hello I would like to create an object with "struct" for the database. The structure of each object was like (I think...):

[pointer to previous structure][index(string)][data-type(enum)][data]
[pointer to next structure]

All objects belongs (or starts) from single ROOT object.

To create a sub-tree, [data] will point the new structure + the
[pointer to previous structure] points back the object. while
( aObject->previousObjectPtr != void ) like code to forward or back.
Seek a particular object must be done in the same way.

XML production is very primitive. It just do simple "while" codes to
search the tree structure, and output as text.