Hello,
I have to solve the following task:
- create an editor-application in c# to read, modify and create
xml-files
- .xsd-schema-file is available and can be used
Currently, I am thinking of the following way to do the job:
- use xsd.exe to create basic c#-classes from xsd.file (modify these
classes according to my particular needs)
- read xml-file and create according object-hyrarchie with the classes
(READ)
- serialize the classes to create xml-file (WRITE)
Is this a good way to do the job?
Do you have better suggestions?
Is it necessary to create static classes from the xsd-file (using
xsd.exe)
or is there a way to do that dynamically during runtime?
I appreciate your help on this!
Thanks!