Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » XML to Papyrus UML model
XML to Papyrus UML model [message #1771932] Fri, 01 September 2017 09:22 Go to next message
Daniel Clarke is currently offline Daniel ClarkeFriend
Messages: 24
Registered: March 2016
Junior Member

I am wanting to create a Papyrus UML model from a set of XML files (each with their own XSDs).

Does anybody know the best way to do this? I've been looking around the web and there is soooo much stuff out there I'm not entirely sure where to begin.

I've been looking at creating an EMF model from my XSD, then using some model to model transformation technology (maybe QVTo or ATL?) to transform from the schema based ecore model to a Papyrus UML model...

However, I'm having difficulty understanding if this is
A) the right thing to be doing
B) if there is a better way
C) getting it to work (I've generated a model, but can't figure out how to load XML into the model).

Does anybody know of examples of this type of thing been done?

Any guidance is much appreciated.
Re: XML to Papyrus UML model [message #1771933 is a reply to message #1771932] Fri, 01 September 2017 09:33 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6771
Registered: July 2009
Senior Member

Using EMF to do XSD2Ecore is a good starting point.
Then in the Sample Ecore Editor, select the EPackage and use Ecore2UML from the main tool bar menu.

Not sure what you mean by the XML loading.

If you are stuck with XSD at some level, you may find that UML and Papyrus add little value. You can use the Sirius based Ecore diagram editor to get graphical pictures of Ecore from your XSD. More modeling tools work with Ecore than UML so consider just Ecore unless you need UML to integrate into a much larger system architecture.


Ed Willink
Previous Topic:XML to Papyrus UML model
Next Topic:Generating UML Diagram class
Goto Forum:

Current Time: Fri Jul 10 13:56:59 GMT 2020

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

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

Back to the top