Estron XML Reference

The following is a reference for the estron XML markup elements. Most of these elements are described in considerable detail in the 'testbasic.estron' example file, and are *not* repeated here. This file contains information about elements that did *not* make it into the 'testbasic.estron' example.

The <filter> element is used to define a custom filter. Currently, one one type of custom filter is suspported: a user-defined lookup table to map from one list of values to another.

The keyword "name" is used to give the filter a name. The keyword "revname" is used to give a name to the reversed mapping. This keyword only makes sense for lookup-table mappings, as other types of filters might not be reversible.

Example: The example below converts numeric values to strings.

<filter name="unmenu" revname="menuchoice">
  <lookup key="0" val="itty"  />
  <lookup key="1" val="bitty" />
  <lookup key="2" val="teeny" />
  <lookup key="3" val="weeny" />
</filter>

The <lookup> element defines an entry in the filter lookup table. It takes two keywords, "key" and "value", and associates the one to the other.


Generated on Tue Apr 29 21:27:53 2008 for estron by  doxygen 1.5.5