Hi everyone,
I would like to hear your opinions about a design solution I am
contemplating.
The problem I am following: Write an editor for a data structure that is
recursive in nature. In other words it is a tree, where child nodes can
contain links to parent nodes. And there multiple kind of nodes: Here is an
example
Track 1
Track 2
Track 3
Requirements
Requirement
Note
Requirements
Requirement
Note
Track 2 (reference)
Requirement
Requirements
Requirement
Note
Track 1 (reference)
Requirement
Note
Blah:
And so on :
The order of the elements is important. So, I need an easy way to swap some
elements for example.
The data structure will be read from and saved to XML file.
Here is my question: Should try to implement my own tree like structure or
should I use XMLDocument and manipulate the data in the inmemory DOM tree?
(Engine Class Collection pattern? )
What are you ideas on this?
I appreciate your input. Thank you in advance.
Sasha