X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Frecordmodel.xml;h=8ad29e8c01e62584efbabadceecbdfd62d19b06f;hb=aa36decbdd330b8858eac641056bf607a8eea8a1;hp=fc16fc8df7d61ecd7a1f8c8976913de1b85d7384;hpb=807d2c445492c36b95b7ef1b3202ccdc0e302aa5;p=idzebra-moved-to-github.git diff --git a/doc/recordmodel.xml b/doc/recordmodel.xml index fc16fc8..8ad29e8 100644 --- a/doc/recordmodel.xml +++ b/doc/recordmodel.xml @@ -1,5 +1,5 @@ - + The Record Model @@ -42,7 +42,8 @@ input filter by preparing conversion rules based on regular expressions and possibly augmented by a flexible scripting language (Tcl). - The input filter produces as output an internal representation: + The input filter produces as output an internal representation, + a tree structure. @@ -94,7 +95,7 @@ subsequent sections. Zebra can read structured records in many different formats. How this is done is governed by additional parameters after the - "grs" keyboard, separated by "." characters. + "grs" keyword, separated by "." characters. @@ -220,7 +221,7 @@ Each element is terminated by a closing tag - beginning with </, and containing the same symbolic tag-name as the corresponding opening tag. - The general closing tag - </> - + The general closing tag - </> - terminates the element started by the last opening tag. The structuring of elements is significant. The element Telephone, @@ -259,7 +260,7 @@ - + Variants @@ -460,12 +461,12 @@ - An action is surrounded by curly braces ({...}), and + An action is surrounded by curly braces ({...}), and consists of a sequence of statements. Statements may be separated by newlines or semicolons (;). Within actions, the strings that matched the expressions immediately preceding the action can be referred to as - $0, $1, $2, etc. + $0, $1, $2, etc. @@ -476,7 +477,7 @@ - begin type [parameter ... ] + begin type [parameter ... ] Begin a new @@ -539,7 +540,7 @@ - end [type] + end [type] Close a tagged element. If no parameter is given, @@ -762,7 +763,7 @@ - The Tag set (again, this can consist of several different sets). + The tag set (again, this can consist of several different sets). This is used when reading the records from a file, to recognize the different tags, and when transmitting the record to the client - mapping the tags to their numerical representation, if they are @@ -840,8 +841,8 @@ Generally, the files are simple ASCII files, which can be maintained - using any text editor. Blank lines, and lines beginning with a (#) are - ignored. Any characters on a line followed by a (#) are also ignored. + using any text editor. Blank lines, and lines beginning with a (#) are + ignored. Any characters on a line followed by a (#) are also ignored. All other lines contain directives, which provide some setting or value to the system. Generally, settings are characterized by a single @@ -853,7 +854,7 @@ - + The Abstract Syntax (.abs) Files @@ -1128,7 +1129,7 @@ att - att-value att-name [local-value] + att-value att-name [local-value] (o,r) This @@ -1463,7 +1464,7 @@ simpleElement - path ['variant' variant-request] + path ['variant' variant-request] (o,r) This corresponds to a simple element request @@ -1748,9 +1749,9 @@ - Curly braces {} may be used to enclose ranges of single + Curly braces {} may be used to enclose ranges of single characters (possibly using the escape convention described in the - preceding point), eg. {a-z} to introduce the + preceding point), eg. {a-z} to introduce the standard range of ASCII characters. Note that the interpretation of such a range depends on the concrete representation in your local, physical character set.