X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Frecordmodel.xml;h=8ad29e8c01e62584efbabadceecbdfd62d19b06f;hb=e752c2712240e5020ee737cbf1cb0f33b9a1ba28;hp=d067cfd80ef858679f24cd101ff23a9f93773055;hpb=51fc70e752ec936e8815d639b34dd0fab17e0aab;p=idzebra-moved-to-github.git diff --git a/doc/recordmodel.xml b/doc/recordmodel.xml index d067cfd..8ad29e8 100644 --- a/doc/recordmodel.xml +++ b/doc/recordmodel.xml @@ -1,5 +1,5 @@ - + The Record Model @@ -8,7 +8,7 @@ kind of structured data. Each record in the system is associated with a record schema which lends context to the data elements of the record. - Any number of record schema can coexist in the system. + Any number of record schemas can coexist in the system. Although it may be wise to use only a single schema within one database, the system poses no such restrictions. @@ -16,7 +16,7 @@ The record model described in this chapter applies to the fundamental, structured - record type grs as introduced in + record type grs, introduced in . Variants @@ -304,7 +305,7 @@ tag with the same class and value settings, or by the appearance of another, normal tag. In other words, the end-tags for - the variants used in the example above could have been saved. + the variants used in the example above could have been omitted. @@ -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, @@ -608,8 +609,8 @@ - TITLE "Zen and the Art of Motorcycle Maintenance" ROOT + TITLE "Zen and the Art of Motorcycle Maintenance" AUTHOR "Robert Pirsig" @@ -623,10 +624,10 @@ - TITLE "Zen and the Art of Motorcycle Maintenance" ROOT - FIRST-NAME "Robert" + TITLE "Zen and the Art of Motorcycle Maintenance" AUTHOR + FIRST-NAME "Robert" SURNAME "Pirsig" @@ -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.