This guy improved that code with the feature you need.
"Wayne" <wsepega@NoLandSpamstar.com> wrote in message
news:O2i1A5nQEHA.2716@tk2msftngp13.phx.gbl...
> Thank you this looks like something I can wind up using. His example
doesn't
> have what I asked for below, but does have two other items in it that I
can
> defently use.
>
> Thanks
> Wayne
>
>
>
> "Daniel Cazzulino [MVP XML]" <kzuAT@NOaspnet2SPAMPLZ.com> wrote in message
> news:ORqgbe5OEHA.628@TK2MSFTNGP11.phx.gbl...
> > You may want to try
> >
>
http://msdn.microsoft.com/xml/default.aspx?pull=/library/en-us/dnxmlnet/html/xsdcodegen.asp
> >
> > --
> > Daniel Cazzulino [MVP XML]
> > Clarius Consulting SA
> >
http://weblogs.asp.net/cazzu > >
http://aspnet2.com > >
> > "Wayne" <wsepega@NoLandSpamstar.com> wrote in message
> > news:eQqoVTDOEHA.3944@tk2msftngp13.phx.gbl...
> > > I have three xml schemas, one schema contains types that the other two
> > > referance. When generate code for each of the schemas, all three cs
> files
> > > contain the types that are part of the common schema.
> > >
> > > Currently I am going through the auto generated code and removing the
> > common
> > > types, with the help of the compiler since they are all in the same
> > > namespace.
> > >
> > >
> > > Aside from listing all the types I want generated in each of the other
> two
> > > schemas, as I may add more in the future and don't want to forget to
add
> > to
> > > the list, is there a way to get XSD to not generate the common types
for
> > the
> > > other two Schemas?
> > >
> > > Thanks
> > > Wayne
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (
http://www.grisoft.com).
> > Version: 6.0.679 / Virus Database: 441 - Release Date: 07/05/2004
> >
> >
>
>
Outgoing mail is certified Virus Free.
).