[XML Schema] Generate associated XSD file [SOLVED]

General discussions about code engineering

Moderator: Moderators

[XML Schema] Generate associated XSD file [SOLVED]

Postby saleguise » Mon Feb 08, 2010 8:31 am

I have a XML Schema in Magic Draw and i want to generate the XSD file associated.
Is it possible ???

Thanks for the replies.
Last edited by saleguise on Wed Feb 10, 2010 11:19 am, edited 1 time in total.
saleguise
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Mon Feb 08, 2010 8:28 am

Re: [XML Schema] Generate associated XSD file

Postby kosmac » Tue Feb 09, 2010 5:57 am

Hello saleguise,

In order to generate XSD code from XML, you will need to create code engineering set in Containment Tree. Please click right-mouse button on "Code engineering sets" and choose New->XML Schema. Type the name of code engineering set. Now set can be edited by right-mouse click too and choosing "Edit" command from the list.

More information about XSD code generation could be found in "MagicDraw Code&Database Engineering UserGuide.pdf" manual, located in <MagicDraw_install_dir>/manual/ directory.

If this is not helping, and other feature is needed, please let us know

---
Best regards,
Kostas Mackevicius
---
Best regards,
Kostas Mackevicius
kosmac
Forum Newbie
Forum Newbie
 
Posts: 23
Posts Rating:0
Joined: Tue Dec 29, 2009 8:31 am
Location: Kaunas, Lithuania
Full name: Kostas Mackevicius

Re: [XML Schema] Generate associated XSD file

Postby saleguise » Wed Feb 10, 2010 11:19 am

Thank you kosmac.

It's very simple; just have to create a code engineering set and add the xsd component (pointing on a XML schema) in the edit popup. Then select the generate option with right-clicking on the code engineering set.

Saleguise
saleguise
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Mon Feb 08, 2010 8:28 am


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests