Dynamically generate a data entry form from XSD, including validation rules

Is there anything around that can read the XSD schema and dynamically create a data entry form (Windows C #)? You will also need to read the type definitions and use them to validate the input. Then the data will be saved as an XML file.

I would prefer it to be a dynamic form, as XSD could and probably changed. I would prefer not to rebuild and redistribute the application every time it changes.

I saw XSD2code that looks promising but doesn't seem dynamic.

The Codeplex XML data editor looks promising, but it threw an unhandled exception when I fed it an XSD, which I would use. In addition, I do not think these are validation rules.

+3
source share
1 answer

, , , XSD2Code LinqToXSD. .cs LinqToXSD, . .cs. XML.Schema.Linq.dll . WinForms. , , , .

+2

Source: https://habr.com/ru/post/1771382/


All Articles