Hello, I trying to optimize a program I've already written. I used XML and I manually created the "start" and "end" element tags within my code and now I am moving to doing everything directly through a dataset.
The XML file I created in my program before looked like this, without a schema
<NIC MAC="5565.." IP="..." />
<NIC MAC="455.." IP="..." />
<PROC Name="svchost.exe" />
<PROC Name="blahblah.exe" />
There is a lot more but that is basically it. I would really like to keep the same format but use a schema for this (unless this is not the preferred format anymore). I can't figure out how to have elements that just hold other elements, like collection., my <NetworkInfo> element for instance, it just holds NIC elements.
This was very simple to do just doing manually using loops and case statements but again I'd like to take advantage of XSD's and dataset stuff. Using unique "primary keys" and so forth really isn't an option, because in many cases I need data that seems redundant (once it is in my database I use autoincrementing keys so the DB is normalized but removing pseudo-redundancy within my dataset is not an option (for instance many event log erros will have the same data, but I need them all)
Anyway, this may be very simple but I am just not seeing it. Thanks in advance.