Extra XML Information

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markmcgookin
    Recognized Expert Contributor
    • Dec 2006
    • 648

    #1

    Extra XML Information

    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
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is a post that may help:
    Best way to read a 1GB XML file with C#?

    Comment

    • markmcgookin
      Recognized Expert Contributor
      • Dec 2006
      • 648

      #3
      Originally posted by kenobewan
      Here is a post that may help:
      Best way to read a 1GB XML file with C#?
      Thank you my Jedi friend, I shall have a look!

      .... at what point in computing do you just know stuff and stop having to learn 90% of each and every new project you start?!?

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Every application has different requirements, so while you may not need to learn 90% the challenges are still there. What changes less are the design principles and logic. So experienced programmers pick up a new language faster - the OOP transfers. I believe that asp.net is too large for anyone to know everything and things change with each version. This is part of the reason it is never boring :).

        Comment

        Working...