Using plain XML models with Epsilon programs
Epsilon can be used with a range of modelling technologies, including EMF, MDR and plain XML. Before launching an Epsilon program, the models to be consumed or produced by the program must be specified. This article describes the way in which Epsilon programs can be configured to access plain XML files as models.
When launching an Epsilon program, the launch configuration dialog includes a "models" tab. To configure an Epsilon program to use plain XML, click the "models" tab, click "Add", and select "Plain XML document."
The resulting dialog box contains several options that are used to specify how Epsilon will access the model at run-time:
- Name
- The identifier used to access this model from the Epsilon program.
- Aliases
- Additional identifiers for accessing this model.
- Workspace file
- If checked, indicates that Epsilon should load the XML document from a location in this workspace. If unchecked, indicates that Epsilon should load the XML document from a URI, which can be used to specify a location external to this workspace.
- File
- The location of the XML document in this workspace.
- URI
- The URI of the XML document, which can specify a location external to this workspace.
- Read on load
- Indicates whether the model will be loaded before the Epsilon program is executed. Typically, this should be turned off only when the model is to be created by the Epsilon program.
- Store on disposal
- Indicates whether any changes made to the model by the Epsilon program should be saved. When this option is turned off, Epsilon has read-only access to the model.