Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » XMI Import/Export
XMI Import/Export [message #474683] Mon, 14 July 2008 07:46 Go to next message
Hari is currently offline HariFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

I'm new to eclipse uml2tools. Today I installed uml tools using the update
manager. Now I'm able to create UML diagrams. However I don't find any
option to import the xmi file or export the diagram as xmi. Please let me
know how to import and export xmi using uml tools.

Thanks and Regards,
Hari
Re: XMI Import/Export [message #474684 is a reply to message #474683] Mon, 14 July 2008 08:23 Go to previous messageGo to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
The model file (extension *.uml2) is already persisted in XMI. Try
opening it with a text editor and inspect the XML markup. Whether other
tools that also "speak" XMI will be able to read this file, is a very
different matter.

For tools that are known to be compatible with Eclipse UML2, take a look at:

http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

Cheers,

Rafael

Hari wrote:
> Hi,
>
> I'm new to eclipse uml2tools. Today I installed uml tools using the
> update manager. Now I'm able to create UML diagrams. However I don't
> find any option to import the xmi file or export the diagram as xmi.
> Please let me know how to import and export xmi using uml tools.
>
> Thanks and Regards,
> Hari
>
Re: XMI Import/Export [message #474685 is a reply to message #474684] Mon, 14 July 2008 08:50 Go to previous messageGo to next message
Hari is currently offline HariFriend
Messages: 8
Registered: July 2009
Junior Member
Thank you very much Rafael!!
Re: XMI Import/Export [message #474687 is a reply to message #474684] Mon, 14 July 2008 23:18 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
The .uml file does use an Eclipse specific URI and maybe several minor
extensions beyond the OMG standard XMI. To get an OMG standard XMI file:

* open your .uml model using the sample UML editor (Open With > UML Model
Editor)

* File > Save As.. and enter a file name with .xmi file extension

As Rafael said, other tool compliance varies. Note that this XMI file is
for XMI version 2.1 and UML version 2.1.1 (the latest versions of each)

Regards,
Dave Carlson

"Rafael Chaves" <rafael@abstratt.com> wrote in message
news:g5f2e0$kq0$1@build.eclipse.org...
> The model file (extension *.uml2) is already persisted in XMI. Try opening
> it with a text editor and inspect the XML markup. Whether other tools that
> also "speak" XMI will be able to read this file, is a very different
> matter.
>
> For tools that are known to be compatible with Eclipse UML2, take a look
> at:
>
> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>
> Cheers,
>
> Rafael
>
> Hari wrote:
>> Hi,
>>
>> I'm new to eclipse uml2tools. Today I installed uml tools using the
>> update manager. Now I'm able to create UML diagrams. However I don't find
>> any option to import the xmi file or export the diagram as xmi. Please
>> let me know how to import and export xmi using uml tools.
>>
>> Thanks and Regards,
>> Hari
>>
Re: XMI Import/Export [message #474688 is a reply to message #474687] Tue, 15 July 2008 06:15 Go to previous message
Hari is currently offline HariFriend
Messages: 8
Registered: July 2009
Junior Member
Dave Carlson wrote:

> The .uml file does use an Eclipse specific URI and maybe several minor
> extensions beyond the OMG standard XMI. To get an OMG standard XMI file:

> * open your .uml model using the sample UML editor (Open With > UML Model
> Editor)

> * File > Save As.. and enter a file name with .xmi file extension

> As Rafael said, other tool compliance varies. Note that this XMI file is
> for XMI version 2.1 and UML version 2.1.1 (the latest versions of each)

> Regards,
> Dave Carlson

Thank you Dave!!
Re: XMI Import/Export [message #621261 is a reply to message #474683] Mon, 14 July 2008 08:23 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
The model file (extension *.uml2) is already persisted in XMI. Try
opening it with a text editor and inspect the XML markup. Whether other
tools that also "speak" XMI will be able to read this file, is a very
different matter.

For tools that are known to be compatible with Eclipse UML2, take a look at:

http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

Cheers,

Rafael

Hari wrote:
> Hi,
>
> I'm new to eclipse uml2tools. Today I installed uml tools using the
> update manager. Now I'm able to create UML diagrams. However I don't
> find any option to import the xmi file or export the diagram as xmi.
> Please let me know how to import and export xmi using uml tools.
>
> Thanks and Regards,
> Hari
>
Re: XMI Import/Export [message #621263 is a reply to message #474684] Mon, 14 July 2008 08:50 Go to previous message
Hari is currently offline HariFriend
Messages: 8
Registered: July 2009
Junior Member
Thank you very much Rafael!!
Re: XMI Import/Export [message #621266 is a reply to message #474684] Mon, 14 July 2008 23:18 Go to previous message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
The .uml file does use an Eclipse specific URI and maybe several minor
extensions beyond the OMG standard XMI. To get an OMG standard XMI file:

* open your .uml model using the sample UML editor (Open With > UML Model
Editor)

* File > Save As.. and enter a file name with .xmi file extension

As Rafael said, other tool compliance varies. Note that this XMI file is
for XMI version 2.1 and UML version 2.1.1 (the latest versions of each)

Regards,
Dave Carlson

"Rafael Chaves" <rafael@abstratt.com> wrote in message
news:g5f2e0$kq0$1@build.eclipse.org...
> The model file (extension *.uml2) is already persisted in XMI. Try opening
> it with a text editor and inspect the XML markup. Whether other tools that
> also "speak" XMI will be able to read this file, is a very different
> matter.
>
> For tools that are known to be compatible with Eclipse UML2, take a look
> at:
>
> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>
> Cheers,
>
> Rafael
>
> Hari wrote:
>> Hi,
>>
>> I'm new to eclipse uml2tools. Today I installed uml tools using the
>> update manager. Now I'm able to create UML diagrams. However I don't find
>> any option to import the xmi file or export the diagram as xmi. Please
>> let me know how to import and export xmi using uml tools.
>>
>> Thanks and Regards,
>> Hari
>>
Re: XMI Import/Export [message #621267 is a reply to message #474687] Tue, 15 July 2008 06:15 Go to previous message
Hari is currently offline HariFriend
Messages: 8
Registered: July 2009
Junior Member
Dave Carlson wrote:

> The .uml file does use an Eclipse specific URI and maybe several minor
> extensions beyond the OMG standard XMI. To get an OMG standard XMI file:

> * open your .uml model using the sample UML editor (Open With > UML Model
> Editor)

> * File > Save As.. and enter a file name with .xmi file extension

> As Rafael said, other tool compliance varies. Note that this XMI file is
> for XMI version 2.1 and UML version 2.1.1 (the latest versions of each)

> Regards,
> Dave Carlson

Thank you Dave!!
Previous Topic:XMI Import/Export
Next Topic:Reuse UML New Diagram wizards
Goto Forum:
  


Current Time: Fri Mar 29 15:06:38 GMT 2024

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

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

Back to the top