This view shows the list of Structures associated with the current template. A template must have at least one Structure. The structure comprises of an XML example. Within this example the values are replaced with the '%%' symbol.
Each Structure is identified with an ID. This must be unique within the Template. Also it may have an optional reference which might be a more human readable name for the structure.
CAM envisages the use of multiple types of structures, although in version 1.0 only XML is supported. The types of content are represented by the Taxonomy fields.
Fig 1. The Structures View.
The view has three functions, accessible either through the context menu or on the cool bar. These are:
None of these actions changes the rules associated with the template.
If a template is already open this function will add a structure into the list of existing structures. This is done in alphabetical order in the view.. The structure will be given the temporary ID of 'NewStructure' which should be changed. To select the structure click on the ID field. This will select the ID field which can be overtyped. To add a reference simple click into the Reference column field. For CAM 1.0 the Taxonomy should remain unchanged.
It is also given a dummy XML structure. This structure is merely a placeholder and can be replaced by using the edit functions of the Structure View.
If no template has been loaded up into the editor the act of adding a structure is the same as creating a new Template. This is reflected in this view by the new Structure being called 'NewFile'. Like the 'NewStructure' this should be changed to be more relevant.