xsd.exe from the .NET SDK has been a favorite tool of mine in recent months, but it let me down tonight. It seems that xsd.exe does not support schema files that import other schemas. I'm bummed.

[Moments later] I'm no longer bummed. It turns out that xsd.exe does in fact support <xsd:import>. You simply need to include all .xsd file names on the command line. For example:

xsd.exe /c /l:cs /n:"namespace" a.xsd b.xsd c.xsd

posted by Kirby Turner | 21-Jul-2002 10:22 PM | comments (0)

Add Your Comment

Comment:
(No HTML)

Name:
E-mail/Web site:
Your e-mail/web site will not be published on this site. It is optional and will only be used by me should I need to contact you directly.
 
By checking this option, this site will remember your name and e-mail/web site on future visits. Uncheck this option to have the site not remember who you are on future visits.
 
Enter the code shown above:
Copyright © 1999-2008 Kirby Turner.
Site software written by White Peak Software Inc, a provider of custom software and software development coaching.