![]() |
Previous Top Next |
Schema, Content model
|
1. | Click right on the element you want to add sub elements to.
|
2. | Select Add Child | Sequence (Choice or All).
|
3. | Click right on the compositor symbol and select Add Child | Element, to add further sub elements.
|
1. | Click right on the compositor.
|
2. | Select Change Model | Sequence (Choice or All).
|
1. | Click the Insert / Append icon in the Schema Overview, and select the type of component you want (Element, Group, SimpleType, ComplexType etc.)
|
2. | Enter the name of the component in the global list, and confirm with OK.
|
Please note:
|
You can create a global element while viewing a component in the content model. Click right in the main window, and select the option New Global | Element.
|
1. | Switch to the Schema global overview, select the component and hit the delete key, or
|
2. | Click the Delete icon ![]() |
1. | Click right on the element and select Make Global | Element.
|
· | You add a component to a schema which has the same name as an existing global component. This causes a dialog box to appear, prompting you if you want to reference the element to it. Confirming with OK, references the component to the component definition.
|
· | You right click an element and select the option Reference from the context menu.
|
Please note:
|
If you create a reference to a component that does not exist, the element name appears in red as a warning that there is no definition to refer to.
|
· | Use the Hotkey CTRL+Double click on an element.
|
The element definition appears, along with the corresponding info in the details window, or
|
· | Right click the element and select Go to Definition from the context menu.
|
1. | Right click the element
|
2. | Select the context menu option Edit | Name and edit the name. (Double clicking the element name, also enables you to edit the name.)
|
1. | Right click the element.
|
2. | Select the context menu option Edit Annotation. (Double clicking the element annotation, also enables you to edit the annotation.)
|
1. | Right click the element.
|
2. | Select the context menu option Whole Annotation Data.
|
This opens the Annotation dialog box. If an element contains annotation text, then a row is visible when the dialog box is opened. The annotation type "doc", is displayed in the Kind column and the annotation text is visible in the Content text box.
|
![]() |
3. | Click the append ![]() |
4. | Click the drop down arrow next to the new doc line, and select "app".
|
5. | Double click in the Source column to enter a URI, it is not mandatory that you enter one however.
|
6. | Enter the appinfo content text, in the Content text box.
|
|
· | Select the menu command Schema design | View config.
|
· | Double click the cell of the element (table) you want to edit and start entering data. If a selection is possible, a drop down list appears if not, enter the parameter or value and confirm the entry with the Return key.
|
The entry helpers will be updated at this point, reflecting the data you entered.
|
![]() |
· | Select the menu command Schema design | Generate documentation.
|
|