c# - How to parse XML Schema File -
Good day.
How to parse the XML schema (.xsd) file and generate the C # class file.
About my project:
Step 1. Parse XSD file (C # long) ---- Build time -----> Generate coded dictionary (C # class)
Step 2 Paser XML file (C # long) ---- Fill the CCode dictionary with the run time -----> XML file value (C # app)
I have searched the tool for the XSD.exe / XSDObjectGen tool etc. I think the C # class can not be used for my project.
This is the reason why I want to parse myself XSD file. I searched MSDN and found the information: Namespace: System.Xml.Schema But I do not know which class is better for me .
Any help would be appreciated.
> BR! Nano
In my project I successfully used xsd.exe to do this with this command line Is:
xsd.exe schema.xsd / classes
What is the reason for making them inappropriate for use in their projects?
Comments
Post a Comment