Select Root
You can change the root element when XML schemas are loaded. The root element always appears as a tag in the Output section on the Debugger screen. You can change this tag by selecting the desired root element.Â
Steps to select root element of a schema
- Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
- Right-click the root element of the schema whose root element you want to change and select the Select Root option.
- The Select Root Element screen is displayed.
- This screen displays a list of existing root elements for the selected schema in a dropdown list (see Figure 565).
Figure 565:Â Select Root ElementAll elements that are declared as global in the XSD are listed in this dropdown list.
Select the root element that you want to change from the Select Root dropdown list and click OK. A screen is displayed confirming the change of the root element (see Figure 566).
Figure 566: Confirm Change of Root ElementClick Yes to change the root element. This changes the root element and displays the selected root element.
The Select Root sub-option is displayed as active only for the root element.
Â