api
Provides a location for global ogScript code. Contents of the api tag are processed by the ogScript compiler directly. Elements within an api tag are scoped where they are declared in the XML; siblings and children of siblings have visibility to elements declared within the api tag.
The api tag should generally be placed within a <meta> tag for global ogScript code encapsulation. However, ogScript code intended to dynamically generate and modify the XML should be placed in a top-level api tag.
Syntax
<api>
global-scope elements
</api>
Attributes
None.