Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Lambini on November 13, 2003, 09:08:30 am

Title: Visio-importing and exporting
Post by: Lambini on November 13, 2003, 09:08:30 am
Can any one give me a step-by step(idiot's guide) to importing and exporting files from and to Microsft Visio? ???
Title: Re: Visio-importing and exporting
Post by: mcavigelli on November 14, 2003, 12:12:51 am
I cannot give you step-by-step guide. Nevertheless some hints:
I guess you are talking about Visio UML solution. If you follow  this article you will be able to export your Visio UML model as XMI

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvisio02/html/umlxmi.asp

You might then import it into EA. I haven't  that way though myself.

ASFAIK there is no solution to import XMI files into Visio.
Title: Re: Visio-importing and exporting
Post by: ola_strandberg on November 14, 2003, 12:42:42 am
I have tried the Visio XMI export as it stands in the download and it doesn't work. It seems to, but the resulting XML doesn't parse. By making some educated guesses about what is missing, a search & replace capable text editor can sort of fix it (can't remember the exact problem).

That's just the first let-down though. Visio only exports your static class model and doesn't care about Use Cases etc.

Part of the Visio XMI export mechanism is provided as source code, so if you debug it (or find someone else who has - I just could't be bothered to) you may be able to export correct XML/more objects.

Cheers,
Ola