Importing XML

You can import changes made externally in XML back to VP-UML, to update the project data. In this chapter, you will see how to import an XML exported before. Notice that XML import is made in response to XML export in VP-UML. Only XML exported from VP-UML can be imported.

Importing XML to current project

  1. Select File > Import > XML... from the main menu.
    Import XML
    Import XML
  2. Specify the file path of the XML to import.
  3. Click OK.
    NOTE: All changes made in project will be overwritten by data in XML. For example, if class Foo is renamed to Bar. By importing an XML exported before renaming class, Bar will be renamed to Foo.

Importing XML to project with command line interface

  1. Start the command console.
  2. In the console, change directory to the scripts folder and execute ImportXML with the parameters required.
    Parameters for ImportXML
    Parameters for ImportXML
    This displays the usage of the export command. Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -file The filepath of the XML file to import C:\Demo\input\sample.xml
    Parameters for ImportXML
    Upon finishing, the project file will be updated with the data presented in the XML file.