The configuration of EditLive! for XML is performed at load-time through the Instantiation API and the XML Configuration File. The instantiation API for EditLive! for XML allows basic settings to be configured for EditLive! for XML whereas the XML configuration file includes detailed settings for the interface and the behavior of EditLive! for XML. Where conflicts arise between the XML configuration API and the instantiation API settings in the XML configuration will always take precedence over any other setting.
The EditLive! for XML Instantiation API enables developers to configure the basic load-time properties of EditLive! for XML in addition to setting the content. The instantiation API also provides the means to specify the XML configuration file which is to be used to configure the majority of the settings for EditLive! for XML.
Important configuration settings that can be accessed via the instantiation API include:
AutoSubmit - Enables and disables the automatic submission architecture of EditLive! for XML.
BaseURL - Set the URL which EditLive! for XML uses to resolve relative URLs. This property can also be specified via the XML configuration file. If a conflict occurs the setting in the XML configuration file will take precedence.
DebugLevel - Set the level of detail provided in the Java console debug log.
DownloadDirectory - Set the URL to the directory containing the EditLive! for XML source files.
Height - Set the height of EditLive! for XML applet.
UseWebDAV -Enable the WebDAV support of EditLive! for XML.
Width - Set the width of the EditLive! for XML applet.
The EditLive! for XML configuration file allows for the detailed configuration and customization of EditLive! for XML. The configuration file can be edited using a WYSIWYG available from the Ephox Web site. For more information please see the article on the EditLive! for XML Configuration Tool.
The configuration file also provides a means for developers to specify templates for standardized pages via the settings <document> element.
In cases where settings in where either the settings in the document content of EditLive! for XML or the settings in the instantiation API conflict with the settings in the XML configuration file the settings in the configuration file will take precedence.
The configuration file allows the customization of the behavior and functionality of EditLive! for XML. Via the configuration file almost the entire interface of EditLive! for XML can be customized. Customization of the EditLive! for XML interface may also include the development of custom functionality accessed via custom toolbar and menu items.
Functionality can also easily be removed via the configuration file. In most cases, to remove functionality from EditLive! for XML simply remove the related menu items and toolbar buttons.
For more information on how to customize the interface of EditLive! for XML see the sections titled Customizing the EditLive! for XML Interface and Custom Menu and Toolbar Items.
Copyright 2001-2004 Ephox Corporation. All Rights Reserved.