Interoperability via XML
To maximize the interoperability of Visual Paradigm products with other applications, we have introduced the import/export of modeling project to/from open XML format. Users and technology providers can thus integrate Visual Paradigm models into their solutions with minimal effort.
Exporting Project to XML
To export project to
XML, select menu
File >
Export >
XML....
The
Export to XML dialog box appears.
Since there may be multiple files generated, you need to select a directory in
Output destination for storing them.
If you want to export the whole project (all diagrams and models), select the
Export project option.
If you only want to export certain diagrams and the related models, ensure the Export project option is unselected, and then select the desired diagrams in the
Diagrams pane.
After selected the scope, click the
Export button to start.
When the export process finished, open the output destination folder. You can see the exported
XML file named
project.xml, together with the images of the selected diagrams are generated.
Here shows a fragment of the project.xml file.
After you have exported the project, you can modify project.xml either manually or by writing program to update the project content. Then you can import it back to Visual Paradigm products as long as it still adhere to our
XML schema.
Importing Project from XML
To import project from
XML, select menu
File >
Import >
XML....
In the
Import XML dialog box, select the file to import in
Import file.
Click
OK to import the
XML. The diagrams and models will be imported to the current project, and if elements of the same ID are found they will be updated to follow the imported content automatically.
Resources