By examining any XML file, you begin to see from the various tags it contains that data is consistently categorized and identified within a hierarchical structure.
The well-formed XML file for Operations Center hierarchies contains basic tags and commands. At the simplest level, the XML file must contain this basic structure:
<views> <tree> <element>element definition tags</element> </tree> </views>
Looking the following sample XML file that would be used to create a hierarchy of elements in Operations Center, we can see that the hierarchy created would contain a
top element with a native child ( ) and a link to an existing technology branch (Tivoli TEC+):<!DOCTYPE views PUBLIC "-//NetIQ, Inc.//DTD views 1.0//EN" "http://www.NetIQ.com/dtds/views_1.0.dtd"> <views destroy="no"> <tree start_at="root=Organizations"> <element> <name>Test Element</name> <class>org</class> <displaySourceElements>false</displaySourceElements> <contact>Jim</contact> <company>Enigma Corp</company> <address>394 First Street, Fairfax, VA</address> <phone>703-555-1212</phone> <email>test@mo.com</email> <secure name="simple" related="yes" self="yes" children="no"> <grant names="GroupOne,GroupTwo" permissions="view,manage,access,define"/> <deny names="GroupThree" permissions="access,define"/> </secure> <element> <name>Child Element</name> <class>org</class> <displaySourceElements>true</displaySourceElements> <contact>John</contact> <company>Enigma Corp</company> <address>394 First Street, Fairfax, VA</address> <phone>703-555-1212</phone> <fax>703-555-3939</fax> <pager>322-325-3565</pager> <sref name="simple"/> <relate kind="ORG">script=TivoliTec+/root=Elements</relate> </element> </element> </tree> </views>
For more information about the various XML tags used by Operations Center for the creation of element hierarchies, see Understanding XML Tags in the Operations Center 5.5 Server Configuration Guide.