Previous Up Next
mach-ii.xml mach-ii.xml <properties>

<mach-ii>

Root element

Alan Richmond
Copyright 2003, 2004 Ben Edwards, Inc.
mach-ii version="version number"
Attribute Req/Opt Default Description
version Optional The version of Mach-II that the configuration file is written in.

mach-ii

<mach-ii> is the root element of a Mach-II configuration file.

The Mach-II XML (config file) has six main elements under the root <mach-ii> for defining a Mach-II application and its components.

Children

  • properties
  • listeners
  • event-filters
  • event-handlers
  • xml.page-views.pkg
  • xml.plugins.pkg
  • Example

    Example code from a mach-ii.xml file:

    <mach-ii version="1.0">
        <!-- PROPERTIES -->
        <properties>
            ...
        </properties>
        
        <!-- LISTENERS -->
        <listeners>
            ...
        </listeners>
        
        <!-- EVENT-FILTERS -->
        <event-filters>
            ...
        </event-filters>
        
        <!-- EVENT-HANDLERS -->
        <event-handlers>
            ...
        </event-handlers>
        
        <!-- PAGE-VIEWS -->
        <page-views>
            ...
        </page-views>
        
        <!-- PLUGINS -->
        <plugins>
            ...
        </plugins>
    </mach-ii>
       
    Previous Up Next
    mach-ii.xml mach-ii.xml <properties>

    Documentation generated on Thu, 20 Jan 2005 10:47:24 -0800 by phpDocumentor 1.3.0RC3