Moxi Media Inc.
<INDEX-MAP-CONFIG-XML> Tree View | Discussion Forum

IMF Developer's Guide » Site Configuration » <INDEX-MAP-CONFIG-XML>  

The <INDEX-MAP-CONFIG-XML> element is used to specify the map configuration file that is used to define the services and layers used in creating the index map for the site defined by the site configuration XML file.

See the Map Configuration Reference for more information about configuring the index map.

Frequency Parent Elements (this element is valid within):
POS1 <SITE-CONFIG>
   

Attributes Description
url The URL of the XML document containing the index map configuration. The URL can contain the special variable $IMF to specify that the document is relative to the IMF installation directory. Absolute URLs may also be used. URLs that don't start with http: or $IMF are resolved relative to the location of the site configuration XML file. Required.
   

Frequency Description (in this context)
POS1 The <SITE-CONFIG> element may contain zero or one <INDEX-MAP-CONFIG-XML> element in the specified sequence. If you want to use the Index Map routine on your site, you should include this element.
   

Examples:

<!-- Full URL document path -->
<INDEX-MAP-CONFIG-XML url="http://someserver.com/xml/index.xml" />

<!-- Relative URL (same directory as the site configuration) -->
<INDEX-MAP-CONFIG-XML url="index.xml" />

<!-- Relative to the IMF installation -->
<INDEX-MAP-CONFIG-XML url="$IMF/sites/botany/index.xml" />