问题
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