-/* $Id: recctrl.h,v 1.19 2006-05-10 08:13:20 adam Exp $
+/* $Id: recctrl.h,v 1.24 2006-06-13 20:03:33 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
YAZ_BEGIN_CDECL
-#if NATTR
+/* 1 */
#define ZEBRA_XPATH_ELM_BEGIN "_XPATH_BEGIN"
+
+/* 2 */
#define ZEBRA_XPATH_ELM_END "_XPATH_END"
+
+/* 1016 */
#define ZEBRA_XPATH_CDATA "_XPATH_CDATA"
-#define ZEBRA_XPATH_ATTR "_XPATH_ATTR"
-#endif
+
+/* 3 */
+#define ZEBRA_XPATH_ATTR_NAME "_XPATH_ATTR_NAME"
+
+/* 1015 */
+#define ZEBRA_XPATH_ATTR_CDATA "_XPATH_ATTR_CDATA"
/* single word entity */
typedef struct {
-#if NATTR
-#else
- int attrSet;
- int attrUse;
-#endif
unsigned index_type;
const char *index_name;
const char *term_buf;
int flagShowRecords;
int seqno[256];
char match_criteria[256];
- int staticrank;
+ zint staticrank;
void (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid);
data1_handle dh;
void *handle;
char *encoding; /* preferred character encoding */
zint localno; /* local id of record */
int score; /* score 0-1000 or -1 if none */
- int staticrank; /* static rank >= 0, 0 if none */
+ zint staticrank; /* static rank >= 0, 0 if none */
int recordSize; /* size of record in bytes */
char *fname; /* name of file (or NULL if internal) */
data1_handle dh;