XML Document Properties

You can modify an object's properties from its property sheet. To open an XML document property sheet, double-click its diagram symbol or its Browser entry in the XML Documents folder.

The General tab contains the following properties:

Property

Description

Name

Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users.

Code

Specifies the technical name of the object, which is used for generating code or scripts.

Comment

Specifies a descriptive comment for the object.

Stereotype

Extends the semantics of an object derived from existing objects but specific to your needs. You can enter stereotypes directly in this field, or add stereotypes to the list by specifying them in your model's resource file or in an extended model definition.

XML file path

Specifies the location of the XML file that contains the data. Enter a file path or click the Select File tool to the right of the field to select a file.

XSD file path

Specifies the location of the file that contains the XML schema which describes the structure of the XML file. Enter a file path or click the Select File tool to the right of the field to select a file.

Source model

Specifies the XML model (XSM) that defines the structure of the XML document. You choose the model from the list of models open in the workspace.

You have access to the following XSM-specific commands from the XML document contextual menu:


  • Generate Schema – to generate a schema file and describe the structure of the XSM.

  • Reverse Engineer Schema – to reverse engineer a schema file and create an XSM.

You can open the XSM associated with a XML document by right-clicking its symbol, and select Open Model.