I have also a xml file, which I read in, and have to work with the data
in the program and don't change it. (til yet).
I decided to use Hashtables, with (string, XmlNode)
the key is : node.SingleNode(...).InnerText;
the value: node
So I can identify the node by a node specific string, and have access to
the XmlNode istself.
I first wanted ArrayLists, but I wasn't a good idea.
Another possibility to read in the data in Datasets, I dropped this too
(why should I create relational data..., my flexibility is then gone).
So taking Hashtables is a good idea. I didn't find a better idea yet.
Best Regards,
Istvan
*** Sent via Developersdex
http://www.developersdex.com ***