Hi Folks,
I hope this is in the right place as it's in VS 2005, using C#.Net ... but it's an XML question for Mobile Development! So I could post it anywhere lol
I am creating an application in C# that stores various amounts of data in XML files. For one portion of this I am using the Directory class
String[] myFileInfo = Directory.GetFi les(_docPath);
to create a list of files in the Directory.
Each of these files is an XML file (Resco DetailView) to be precise, which is another bit of software we use to create components. Now I don't know too much about XML.. but I was wondering what would be the best way to go about creating EXTRA data at the bottom/top of these detailview.xml files, that would allow me to store notes about them, then read them?!?!
e.g.
<RESCO STUFF>
...
</RESCO STUFF>
<MyNotes>
<DateEdited>2 3/09/98</DateEdited>
<Comments>A Comment</Comments>
</MyNotes>
Etc etc where each value MAY be null, but also may have data in it. Is this a good way to do stuff like this? Would the fact that the </RESCOSTUFF> tag had been reached mean that my stuff won't interfear with the resco stuff, and would anyone be able to recommend the best way to read this data in using C#?
Hehe, hope I made that clear!
Thanks for any help Folks!
Mark
I hope this is in the right place as it's in VS 2005, using C#.Net ... but it's an XML question for Mobile Development! So I could post it anywhere lol
I am creating an application in C# that stores various amounts of data in XML files. For one portion of this I am using the Directory class
String[] myFileInfo = Directory.GetFi les(_docPath);
to create a list of files in the Directory.
Each of these files is an XML file (Resco DetailView) to be precise, which is another bit of software we use to create components. Now I don't know too much about XML.. but I was wondering what would be the best way to go about creating EXTRA data at the bottom/top of these detailview.xml files, that would allow me to store notes about them, then read them?!?!
e.g.
<RESCO STUFF>
...
</RESCO STUFF>
<MyNotes>
<DateEdited>2 3/09/98</DateEdited>
<Comments>A Comment</Comments>
</MyNotes>
Etc etc where each value MAY be null, but also may have data in it. Is this a good way to do stuff like this? Would the fact that the </RESCOSTUFF> tag had been reached mean that my stuff won't interfear with the resco stuff, and would anyone be able to recommend the best way to read this data in using C#?
Hehe, hope I made that clear!
Thanks for any help Folks!
Mark
Comment