The <layer-config> element is the topmost tag of a layer configuration XML file.
The elements of the layer configuration file must be enclosed in a <layer-config> element tag:
<?xml version="1.0" encoding="UTF-8"?>
<layer-config>
<!-- all your configuration stuff goes here -->
</layer-config>
For best results, and to avoid making errors when working with the
configuration files, use an XML editing tool like
XMLSPY to
create, edit, and validate your XML against the schema
for this file format. The Home Edition works well, and is free.
The schema for the layer configuration XML is located at:
Your XML documents can be validated against the schema on Moxi Media's
server, or a copy of the file installed on yours. To specify that the
file be validated when working with an XML editor, use the following
format:
<?xml version="1.0" encoding="UTF-8"?>
<layer-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.moximedia.com/imf-docs-5.0/layer-config.xsd">
<!-- all your configuration stuff goes here -->
</layer-config>
Note that you can use a file location for the schema reference instead of a URL.
If your configurations are in a sub-folder of the $IMF/sites directory, you could use:
<?xml version="1.0" encoding="UTF-8"?>
<layer-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../layer-config.xsd">
<!-- all your configuration stuff goes here -->
</layer-config>
| Frequency |
Description (in this context) |
|
O+ |
The child element may appear one or more times in the <layer-config>
element in any order. |
| |
|
|