====== Tab Definition ====== The **Definition** tab is divided into five areas. - On the left, the object definition of the source object, the object instance of a loaded file and the query result of an XPath query are displayed. - On the right, the object definition of the target object and the object instance of the applied mapping are shown. - In the middle below the **XPath query**, the mapping rule sets and rules are shown divided into three columns((mapping table)). * **Name**: Names of the rules or rule sets. * **Source**: usually((XPath selections, mapping functions, constants or combinations of all can be entered here.)) the XPath selection on the source element. * **Target**: the XPath specification on the target element. - At the bottom, the [[en:transformation:mappings:details#extended_properties|extended properties]] of the currently selected rule or rule set are kept available. These can be shown or hidden using the {{:images:down_bg_plain.png|}} button. - Debugging information is displayed in the footer and the {{:images:windows.png|}} button is provided. **Show trace log** is provided. **Example**:\\ {{:images:mapping_definition.png|}} ===== Navigation in the left area ===== In the header you can see the two buttons {{:images:box_into.png|}} **Source object** and {{:images:hammer.png|}} **Debugging** neon to each other. Three different tabs can be selected at the bottom. - Object definition((default, Here the source object class is shown, if the source object has already been defined.)) - Object instance((Here you can see the source object instance if one was loaded.)) - Query Result((This tab is shown if an XPath query was executed.)) Within the tabs you can navigate the displayed class structures with the cursor keys or with the mouse.\ The object definition provides a description of the data element. This consists of Type((Type of content e.g. String etc.)), Length((Maximum length of content for the field.)) and Occurrence((Designation whether the field is a **mandatory** or an **optional** field.)). ===== Navigation in the right area ===== In the header you can see the two buttons {{:images:box_out.png|}} **Target object** and {{:images:hammer.png|}} **Debugging** one after the other. You can select two different tabs here. - Object definition((default, This shows the target object class if the source object has already been defined.)) - Object instance((Here you can see the target object instance if a source instance was loaded and the mapping was successfully applied to it.)) Within the tabs you can navigate the displayed class structures with the cursor keys or with the mouse.\ The object definition provides a description of the data element. This consists of Type((Type of content e.g. String etc.)), Length((Maximum length of content for the field.)) and Occurrence((Designation whether the field is a color red>mandatory field or an optional field.)). ===== Navigation in the middle area ===== * You can select any element with a left mouse click or activate the cursor in one of the three columns and thus edit it. * Once you are in an editable cell, you can tab through the three columns. * If you are within a rule set on one of several rules, you can also navigate with the cursor keys. * Rule sets can be expanded and collapsed using the Plus and Minus keys on the numeric keypad of the keyboard.