XMLSchema to visio diagram

G

Greg

Hello,
Is there any way to generate a visio diagram/classrelationship/etc... from
a xml schema?

thanks
 
C

Chris Roth [MVP]

Hi Greg,

I don't know that you can do this directly from the xsd, but you can use
Visual Studio to generate the classes first, then perhaps re-engineer with
Visio?

Try the VS.NET command line command "xsd".

For example, to get classes for MySchema.xsd, type:

xsd MySchema.xsd /c

This will generate C# classes from the schema. You'll get one file:
MySchema.cs. You have to be in the VS.NET command line window for this to
work.

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.visguy.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top