generate xml schema from class?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
I have some classes I need to generate xml schemas (they are all 3rd party web custom controls, without source code).
I used xsd.exe to generate schema from the class , but it gives an error saying "there was an error reflecting property Page". Are there any other tools can bypass or ignore errors and give me an xml schema?
The reason for doing this is that the 3rd party control allow load and save xml templates, (the loaded xml tempalte will be converted to a class instance). However there is no schema defining the valid parameters and the company doesnt want to provide one.
So I am trying to find some kind of xsd similar or reflector tools that can generate the xml schema for me.

Many Thanks

View the full article
 
Back
Top