X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ftools.xml;h=accbb5959a0de907dd38cd964a85314928cc82b4;hb=96ca9f70fe68d941a7604f3dd1a6d5817556ddf0;hp=55dec3c248628cf8ac2f0b124afd347ed503e198;hpb=29c7ed2c90cd7aa5b69ec785c618b260f9525b1b;p=yaz-moved-to-github.git diff --git a/doc/tools.xml b/doc/tools.xml index 55dec3c..accbb59 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -173,11 +173,15 @@ The @attr operator is followed by an attribute specification (attr-spec above). The specification consists - of optional an attribute set, an attribute type-value pair and - a sub query. The attribute type-value pair is packed in one string: - an attribute type, a dash, followed by an attribute value. + of an optional attribute set, an attribute type-value pair and + a sub-query. The attribute type-value pair is packed in one string: + an attribute type, an equals sign, and an attribute value, like this: + @attr 1=1003. The type is always an integer but the value may be either an integer or a string (if it doesn't start with a digit character). + A string attribute-value is encoded as a Type-1 ``complex'' + attribute with the list of values containing the single string + specified, and including no semantic indicators.