I need to manipulate an XML file in C #. This is the first time I'm going to do this, and I wanted some tips. My algorithm is basically this:
Fill an XML from my system data (DB Data)
Ex: I have an entity from which my example data comes Person, that the same by its turn has its attributes.
I need to get this data from Person, and set up an xml.
Read this generated XML file, for execution of an X algorithm, that will perform calculations based on my XML data.
This algorithm will provide me with new data as the results of my study.
I need tips on:
In short, what I want is:
- Generate an xml with my entity data,
- read this file populating a result entity.
- Export my result to xml.
My question is:
1 - What Lib can I use to manipulate these files? That is, there is a library I can use to help me manipulate xml files in C #. What I mean is, so you do not have to do everything in the hand?
2 - Does anyone have an example that you can give me, or any tips on how I can accomplish this task?
3 - Lib to automate this task?
Thank you.