Accessing Visio UML Data

女生的网名这么多〃 提交于 2020-01-06 02:38:11

问题


I'm using Visio 2013 Professional trial, I would like to be able to read the data to use it elsewhere. Preferably XML, but as long as I can read it I don't really care. Is there a way I can do this?

My goal is to create UML Diagrams in Visio, and then be able to extract the data for automatic code generation.

I've searched online and every source seems to tell me or imply that Visio has an in-built XML format, but I don't seem to have it. Is it something I'm missing due to trial version, was it removed from Visio 2013, or am I just skipping over something by mistake?

Any help would be great.


回答1:


You should be able to export Visio UML diagrams into "XMI", an XML format.

Any of these links might point you in the right direction:

  • Visio UML to XMI export functionality:

http://msdn.microsoft.com/en-us/library/office/aa140339%28v=office.10%29.aspx

  • Download XMI .dll from CNet:

http://download.cnet.com/UML-To-XMI-Export/3000-2206_4-10732176.html

  • Create XMI for import into IBM Rational Software Architect:

http://www.ibm.com/developerworks/rational/library/import-microsoft-visio-diagrams-2/

  • XMI export with ESRI:

http://support.esri.com/em/knowledgebase/techarticles/detail/26105



来源:https://stackoverflow.com/questions/24225433/accessing-visio-uml-data

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!