XML Specifications

The XML Specifications page of the Options dialog enables you to configure various settings for working with XML.

Access:     Tools | Options > XML Specifications

Use to:

  • Configure various XML Settings

Reference:

Field

Usage

See also

Editor

Set the default editor for 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

Default XMI Version

Set the XMI version to use: Enterprise Architect or Rose

 

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 XML

 

Image Type

Define the format of the image to export to if Export Diagram Images is selected

 

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

Set this option to show, during an Enterprise Architect exported XMI 1.1/2.1 file import, 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 Export/Import Reference Data to manage alternative images

Learn More: