Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

XML Specifications

Within Enterprise Architect you can perform many tasks either directly or indirectly with XML. To help you perform these tasks smoothly, you can configure various settings for working with XML, using the XML Specifications page of the Options dialog.

Access     Tools | Options > XML Specifications

Set XML Specification Options

Field

Usage

See also

Editor

Set the default editor for reviewing any XML documents you open within Enterprise Architect.

 

 

Format XMI Output

Set whether or not formatting is applied to your XMI output.

 

 

Write Log

Set whether or not to write to a log file when you import or export XML.

 

 

Use DTD

Set whether or not to use a Data Type Definition.

 

 

Export Diagrams

Set whether or not to export diagrams when you export XML.

 

 

Export Alternate Images

Set whether or not to export the alternative images used in the model when you export to XML.

Using the Image Manager

Check-in a Package

Sharing Reference Data

 

Validate XMI against Schema/DTD

 

Set whether or not to validate the XML format against the schema or Data Type Definition when loading an imported XML file.

 

Code Page

Set the Code Page to use.

Setting a NULL encoding string results in the encoding tag being entirely omitted from the XML output.

Click on the Default button to restore the setting to the default Code Page.

 

 

Export Diagram Images

Set whether or not to export diagrams as images when you export to XML.

 

 

Image Type

Define the format of the image to export to if the Export Diagram Images option (above) is selected.

 

 

Create placeholders for missing External References during XMI 1.1/2.1 Import

Set to show, during the import of an Enterprise Architect-exported XMI 1.1/2.1 file, any missing:

Diagram elements, using a Boundary element as a placeholder
Diagram connectors, using a Dependency connector as a placeholder

 

When importing an Enterprise Architect exported XMI 1.1/2.1 file with cross-package references, use this option to visually show the diagram items that are not yet in the model.

A sample scenario would be exporting Package2 to XMI 1.1 from Master.EAP and importing it into New.EAP - the Classes Class1 and Class2 and the connector between them are shown using a placeholder on the diagram Package2.

 

MissnDiag

 

 

Prefix EA Tagged Values in XMI 1.0 with ea$

Set whether or not to prefix any Enterprise Architect Tagged Values within any XMI 1.0 you create, with ea$.

 

 

Update Last Save Time

Set whether to update the timestamp of the last time controlled packages were saved.

 

 

Report Cross Package Reference Deletions (XMI 1.1)

Set this option to report any package cross-references that would be deleted when a Controlled Package is exported to XMI 1.1.

 

Report Deletion of Cross-Package References

Default XML Directory

Define the default XML directory to use when importing and exporting XML.

 

 

Notes

If Export Alternate Images is set, and you have packages in your model under version control, then any alternative images used in those packages are also exported to the version control repository when you check in the packages; in this case, you would only select the checkbox if the alternative images are subject to frequent change.
 
Otherwise, do not select this option and instead use the Export Reference Data and Import Reference Data options to manage alternative images

Learn more