XML Search Properties
File Path
This field specifies the search path and the XML filename on which the search operation will be executed. This field is of Formatted Type and can be edited using the Smart Edit Control. The name of the XML Search operation will also display this path.
Locators
This field will display in the left pane the XML Search Elements which contain the XML locators based on which the search operations are performed. Multiple XML elements can be defined and under every XML element multiple XML locators can be created. For every XML element the locators can be declared or modified in the XML Locator view in the right pane.
XML Search Elements
In this panel you can create, delete or modify the position in the node hierarchy of the XML elements. The following operations are possible:
New Element
A new XML element can be created by selecting Insert key while the left panel if focused.
from the context menu or by pressing theRename an element
To rename an XML element select F2 key while the element is selected.
from the context menu or press theMove Up
To move the selected node up use Shift+Up Arrow key keys while the element is selected.
option from the context menu or pressMove Down
To move the selected node down use Shift+Down Arrow key keys while the element is selected.
option from the context menu or pressMove Left
To move the selected node to the left use Shift+Left Arrow key keys while the element is selected.
option from the context menu or pressMove Right
To move the selected node to the right use Shift+Right Arrow key keys while the element is selected.
option from the context menu or pressDelete an element
To delete an element use Delete key while an element is selected.
from the context menu or press theThe hierarchy of the XML elements defined here must be the same with the one from the actual XML file. If the structure is different in the XML file no search operation can be performed.
Once an XML element is created it is possible to assign one or multiple XML locators from the XML Locator panel.
XML Locator
This panel will display the XML locator assigned for the selected XML element from the XML Search Elements panel. Based on this XML locator the XML Search operation will be performed. It is possible to declare multiple XML locators for one XML element.
Create an XML locator
To create a new XML locator press the Insert key while the list is focused. The Edit XML Locator Dialog will appear.
button, use "Add..." context menu option or press theModify an XML locator
To modify an existing XML locator press the Space key while an element is selected. The Edit XML Locator Dialog will appear.
button, use "Edit..." context menu option or press theDelete an XML locator
To delete an existing XML locator press the Delete key while an element is selected.
button, use "Remove" context menu option or press theIf multiple XML Locators are defined you can modify the order in which the searches are performed. The order in this list is the order in which the search operations are executed.
Move Up an XML locator
To move an XML locator up press the PageUp key while an XML locator is selected.
button, use the "Move Up" context menu option or press theMove Down an XML locator
To move an XML locator down press the PageDown key while an XML locator is selected.
button, use the "Move Down" context menu option or press theIf one of the search operations assigned to an XML element fails, all the search operations assigned to that element will fail and no search result property will be set for any of the search operations assigned to that element.
If you want each search to be evaluated individually you can define the same element multiple times, maintaining the same hierarchy, and assign to each instance an XML locator.
Topics
- Edit XML Locator Dialog
Create of edit an XML Locator