struct data1_attset;
+typedef struct data1_local_attribute
+{
+ int local;
+ struct data1_local_attribute *next;
+} data1_local_attribute;
+
typedef struct data1_att
{
struct data1_attset *parent; /* attribute set */
- char *name; /* symbolic name of this tag */
- int value; /* tag value */
- int local; /* local index value */
+ char *name; /* symbolic name of this attribute */
+ int value; /* attribute value */
+ data1_local_attribute *locals; /* local index values */
struct data1_att *next;
} data1_att;
* OF THIS SOFTWARE.
*
* $Log: data1.h,v $
- * Revision 1.13 1996-02-20 16:32:48 quinn
+ * Revision 1.14 1996-05-09 07:27:11 quinn
+ * Multiple local values supported.
+ *
+ * Revision 1.13 1996/02/20 16:32:48 quinn
* Created util file.
*
* Revision 1.12 1996/01/18 09:46:34 adam
DATA1K_null
} data1_datatype;
+typedef enum data1_structure
+{
+ DATA1S_word,
+ DATA1S_phrase
+} data1_structure;
+
typedef struct data1_marctab
{
char *name;
struct data1_tagset *next; /* sibling */
} data1_tagset;
+typedef struct data1_termlist
+{
+ data1_att *att;
+ data1_structure structure;
+ struct data1_termlist *next;
+} data1_termlist;
+
/*
* abstract syntax specification
*/
{
char *name;
data1_tag *tag;
- data1_att *att;
+ data1_termlist *termlists;
struct data1_element *children;
struct data1_element *next;
} data1_element;