DIL Quick Reference

The following section describes how to specify a presentation input script for the DesignComposer. Basically, such scripts are XML-like markup files; in fact, the Design Input Language (DIL) is nothing else than a XML subset.

The content of a DIL script consists in markups and plain text. Both data are mapped to the currently installed knowledge base, which is build up from a set of DCL files. Markups are mapped to design commands. Here a valid mapping has to fulfill two requirements: first, there must be a design command with the same name like the markup (case sensitive like XML !). Second, the attributes specified in the markup has to meet the required arguments of the design command. If one of these preconditions is not fulfilled, the mapping is not valid. If an invalid mapping is detected, the DC's error handler is activated which may ignore the error (and thus the markup) or alternatively stop, just depending on the kind of error handler which has been installed.

Plain text is always mapped to a specific text input node structure. Carriage returns are ignored; white space is always compressed to a single space sign.

Definition of an Attribute Assignment

Attribute assignments are done like in XML: just specify the arguments name and its value. Important is their meaning for the mapping between DIL and DCL described below.

name = (value | "value")

Definition of a DIL Markup

A DIL markup does always refer to a design command name. Its syntax is basically equal to a common HTML/XML markup. Other input commands may be contained within an input command, then a closing markup is required which is optional otherwise.

< name [ newScope = Boolean expression ] ( attribute assignment )* ] >
[ ( input command )* ]
</ name >

Details: