Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » XML schema as source file
XML schema as source file [message #1716627] Sun, 06 December 2015 17:58 Go to next message
Lujain AlDakheel is currently offline Lujain AlDakheelFriend
Messages: 7
Registered: December 2015
Junior Member
Hello,

i've spent a good amount of time looking for some answers but i got lost, im new in M2M techniques and trying to transfer UML model into CPN.
what i did for now is:
- i define the UML metamodel for my case as an Ecore class digram and the xmi file is generated automatically while i was creating the meta-model.

i want the user to define his problem using UML instance from the defined meta-model. another thing i want the user to be able to do is defining his problem using XML file, so i need to define an XML schema to create instances from it

is this possible? to have 2 options in the source file?
if it is, how can i define the XML schema?

Thank you,

Re: XML schema as source file [message #1716740 is a reply to message #1716627] Mon, 07 December 2015 21:45 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

You can generate a metamodel from an XSD, but you cannot add an XSD to an existing metamodel. Instances of such a generated metamodel will be XML files, not XMI.

Cheers,
Dennis
Previous Topic:ATL Transformation and invalid names saved on annotations
Next Topic:EMFTVM Documentation Issues
Goto Forum:
  


Current Time: Thu Apr 25 12:07:22 GMT 2024

Powered by FUDForum. Page generated in 0.03048 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top