To add an element tag to an XML file, right-click an element in the left pane, then select
. The Add submenu lists only those elements that are valid for the entry point selected. The list of elements on the menu varies, depending on the DTD associated with the XML file.Commonly used elements tags include: Group, Filter, Fref (file reference), Test, Properties, and Generator. The Operations Center 5.0 Adapter and Integration Guide describes these elements in the context of the Managed Object Definition Language (MODL), which is an XML-based markup language used to create HierarchyFiles for Operations Center.
To add a tag as a subelement of the currently selected element:
Right-click an element, then select
.Select an item, such as
, from the submenu.The item is added as the last subelement for the selected element.
To place a new element before or after the current element, at the same level as the selected element:
Right-click an element in the left pane, then select
or .Click the element to add.
It is placed above or below the current element, at the same level:
Processing Instructions provide information to an application. The instruction begins with a target, PITarget, which identifies the application. The XML processor is required to pass these instructions to the application. For details, see the http://www.w3.org/ web site.
To add comments or processing instructions:
In the
pane, right-click an element, then select .To place a comment or processing instruction before or after the selected element, select
or .Select
, then enter the information.