OGLML Document Structure

The basic structure of the OGLML document is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<abs contexttype="opengear">

<api>

    Global code

</api>

<meta>

    Non-UI Tags here

    <api>

       Global ogScript code

    </api>

    <params>

       Parameter declarations

    </params>

    <menus>

       Menu declarations

    </menus>

    <widgets>

       Widget descriptors

    </widgets>

</meta>

<ui container>

    <ui elements/>

    <ui element>

       Local scope ogScript code

    </ui element>

    <nested ui container>

       <ui element/>

       . . .

    </nested ui containter>

    . . .

</ui container>

. . .

</abs>

 

Details about the individual tags are documented in the section OGLML Reference on page 62.