morphis logo morphis | wax   
wax manual
wax manual
 

Overview

Architecture

Structure
   Documents
   Navigation
   Forms
   Animation

Devices
   device.xml

DIS
   wax syntax
   text selection
   image selection
   text and image xml

Application
   Configuration
   Servlet
   Filters

Dynamic Item Selection: Configuration

DIS rules are defined in images.xml and text.xml. Application specific files are located in appname.images.xml and appname.text.xml. These files provide a mapping of logical item name to actual content. These rules specify:

  • Language
  • Device id
  • Device groups

Both files have the same xml structure.

lids The lids element is the root element.
Attributes: (none)  
Sub-Elements: lid The lids element contains one or more lid elements, each describing a logical item.

lid The lid element contains one logical item.
Attributes: name The name attribute identifies the logical items' name. Many lid elements can have the same name attribute.
Sub-Elements: item Item elements describe what the lid is to be replaced with.
  idrule Rule to be applied to the device id.
  langrule Rule to be applied to the device's language settings.
  grouprule Rule to be applied to the device group membership.

item The item element.
Attributes: (none)  
Sub-Elements: (none)  

idrule The idrule element.
Attributes: (none)  
Sub-Elements: (none)  

langrule The langrule element.
Attributes: (none)  
Sub-Elements: (none)  

grouprule The grouprule element.
Attributes: (none)  
Sub-Elements: (none)  
morphis SourceForge Logo