The XTT Editing Panel |
The XTT editing panel consists of two views: the design view and the source view. The design view contains the XTT object tree and is displayed by default when an XTT is created or opened. The XTT object tree is a logical representation of the XTT file itself, which is a well-formed XML document. The XTT object tree consists of five types of elements, described in Table.
|
XTT object type |
Tree node name |
Content description |
|
<xtt:template> |
xtt:template |
(none) |
|
<root> |
root |
(none) |
|
<xtt:attribute> |
value of attribute 'name' |
value of attribute 'value' |
|
user-defined element without query or text value |
element's tag name |
(none) |
|
user-defined element with query |
element's tag name |
value of attribute 'xtt:query' + '=' + value of attribute 'xtt:command' |
|
user-defined element with text value |
element's tag name |
value of attribute 'textvalue' |
Table: Element types in the XTT object tree.
The five XTT element types as they appear in the design view are illustrated in Table.

Table: Design view of element types in the XTT object tree
To select an XTT tree object, left-click on it, and it will be highlighted in blue. If you right click on the design view, a pop-up menu will appear depending on the object that is highlighted. Right-clicking on an object will not cause it to be selected. Table summarizes the pop-up menu contents for different selected elements.
|
Node type |
Pop-up menu |
|
<xtt:template> |
N/A |
|
attribute |
|
|
user-defined element |
|
|
user-defined element without query or text value |
(none) |
|
user-defined element with query |
value of attribute 'xtt:query' + '=' + value of attribute 'xtt:command' |
|
user-defined element with text value |
value of attribute 'textvalue' |
Table : pop-up menus available in the XTT editing panel design view
The Source tab displays the source code for the XTT file.