-/* $Id: recgrs.c,v 1.82 2003-08-21 10:29:00 adam Exp $
+/* $Id: recgrs.c,v 1.84 2003-09-16 19:35:19 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
int xpdone = 0;
flen = 0;
- // logf (LOG_LOG,"Index value, %s",wrd->string);
-
/* we have to fetch the whole path to the data tag */
for (nn = n; nn; nn = nn->parent) {
if (nn->which == DATA1N_tag) {
tag_path_full[flen] = 0;
/* If we have a matching termlist... */
- if ((tl = xpath_termlist_by_tagpath(tag_path_full, n))) {
+ if (n->root->u.root.absyn && (tl = xpath_termlist_by_tagpath(tag_path_full, n))) {
for (; tl; tl = tl->next) {
wrd->reg_type = *tl->structure;
/* this is the ! case, so structure is for the xpath index */