Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XMLSchema to visio diagram

0 views
Skip to first unread message

Greg

unread,
Oct 18, 2006, 4:37:41 PM10/18/06
to
Hello,
Is there any way to generate a visio diagram/classrelationship/etc... from
a xml schema?

thanks


Chris Roth [MVP]

unread,
Oct 19, 2006, 12:34:37 PM10/19/06
to
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


"Greg" <gr...@greg.com> wrote in message
news:uZgCqUv8...@TK2MSFTNGP05.phx.gbl...

0 new messages