
Chapter 2 Building an XML model
How to link a child object to an element?
XML objects do not support standard link objects. To link a child object to an element, you must click the child object tool in the palette and then click the element symbol in the diagram. This will automatically create a link between both objects. See the following table for allowed links:
Tool | Action | Result |
| If you click a parent element |
|
| symbol with the Element tool, a |
|
| sequence group particle and a |
|
| child element symbol are created. |
|
| You can modify the group |
|
| particle via its property sheet |
|
| If you click the upper part of a |
|
| child element symbol with the |
|
| Element tool, a brother element |
|
| symbol appears above the child |
|
| element symbol |
|
| If you click the middle part of a |
|
| child element symbol with the |
|
| Element tool, a sequence group |
|
| particle and a grand child element |
|
| symbol are created. You can |
|
| modify the group particle via its |
|
| property sheet |
|
| If you click the lower part of a |
|
| child element symbol with the |
|
| Element tool, a brother element |
|
| symbol appears below the child |
|
| element symbol |
|
| If you click an element symbol |
|
| with the Any tool, a sequence |
|
| group particle and an any symbol |
|
| are created. You can modify the |
|
| group particle via its property |
|
| sheet |
|
| If you click an element symbol |
|
| with the Group tool, a referencing |
|
| group is created. You must now |
|
| select a group for the reference |
|
|
|
|
XSM User's Guide | 45 |