Custom Modules
Before you can start building custom modules, you must understand how the language used to structure the modules is defined. beSTORM modules are constructed using an XML syntax. The beSTORM's XML syntax allows both extensibility as well as a structured session to be built.
Like most XML-based syntax, refer to the Element Type as the string without any spaces within it that follows just after the lower than character (<).
-
Element Attribute as the string without any spaces within it that provides additional parameters to the Element Type.
-
Element Value as the string encompassed within double quotes that provide a value to the Element Attribute.
No Element Attribute can appear without its Element Value. The Element Type is either closed with a forward slash character and greater-than character combination (/>), meaning that no closer tag follows, or only with a greater-than character (>), meaning that the element contains additional elements which are defined as its children (also referred to as nodes). For example:
<ElementType ElementAttribute=”ElementValue” ElementAttribute=”ElementValue” ... />
A beSTORM module's XML syntax is read from top to bottom, with some exceptions where elements that can be introduced into the module change this behavior. Start off by providing the most basic element, Words. Words define elements whose smallest size is 8 bits (1 byte) for one word (for smaller elements refer to Bits).
All beSTORM's elements have an Element Attribute called Name, whose value must be unique within the same module.