I want to be able to define types in one schema, and then use them in other
schemas. So far so good. Now I also want to be able to generate classes
from these schemas and use them independantly, and in their own namespaces.
For example,
schema1.xsd ==> schema1.cs
schema2.xsd ==> schema2.cs
where there are types from schema1 used in schema2.
When I use xsd.exe to generate schema2.cs and an <xs:import> element, it
works, but also regenerates the types from the schema1.cs.
I guess the question is, is there a simple way to generate code for what I'm
trying to do, or do I need to write some custom utility?
I alse took a look at XsdGenerator, which has some nice features as well,
but it seems I need a bit from both of these, as well as some custom work.
Any comments/suggestions?
Thanks,
Daniel