XSD.exe question about include files and code generation

Posted by Roger Willcocks on Stack Overflow See other posts from Stack Overflow or by Roger Willcocks
Published on 2010-06-15T22:24:48Z Indexed on 2010/06/15 22:52 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

If you have an XSD with an includes reference. Is it possible to generate 2 separate class files. 1 for the XSD, and 1 for the included XSD?

My Scenario 4 XSDs, each of which share 15-20 element definitions in common. Rather than maintaining, I'd like to end up with the 4 XSDs all referencing a fifth file with the common definitions, and code generating 5 .cs files to use.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about classes