I just checked out the XML Spy class generator this morning on a teeny tiny
itty bitty schema and was astounded at the # of classes it generated. Talk
about code separation. Yucch!

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu
Sent: Friday, February 03, 2006 9:24 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] XSD -> C# classes -> XML

Actually a colleague of mine tried to use the XSD.exe tool and he got stuck.
My schema is huge and is spread across several files. With XmlSpy I
generated well in excess of 1000 classes. Even with that, I had to do some
cleaning in order to make the resulting project compile.
Anyway, I will try this small GUI tool you recommend. It's good to know
something like this is available out there.
Thanks Georg for your message. Danke!!!
All the best,
Eddie


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Georg Jansen
Sent: Friday, February 03, 2006 6:10 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] XSD -> C# classes -> XML


If you want to use xsd.exe from within VisualStudio you can use VisualXSD,
is a small GUI tool that serves as a Windows GUI for xsd.exe (it starts
xsd.exe to do the actually work).

It can be downloaded from:

http://www.faktnet.com/VisualXSD/VisualXSD/tabid/132/Default.aspx

Regards
Georg


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Sills
Sent: 1. februar 2006 20:04
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] XSD -> C# classes -> XML

Xsd.exe (command line tool shipped with the SDK) will create the C# classes
for you. To get those classes to/from XML you then just use the
XmlSerializer class.

Adam..

> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Eddie Lascu
> Sent: Wednesday, February 01, 2006 12:43 PM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] XSD -> C# classes -> XML
>
> Hello experts,
>
> I have the feeling that this question was asked before, but I don't
> remember what was the answer and whether it can be done.
> Basically I have a huge XML Schema Definition file (with tons of types
> defined). Is there a tool that can be used to generate the equivalent
> C# classes that can be later used to instantiate and serialize objects
> that would generate Xml documents that can be validated against the
> schema? I know you can open an XSD document in the Visual Studio, but
> I don't know if you can generate the C# classes within the IDE.

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to