IDZEBRA 2.2.11
zebra_xpath.h File Reference
#include <yaz/nmem.h>

Go to the source code of this file.

Data Structures

struct  xpath_predicate
struct  xpath_location_step

Macros

#define XPATH_STEP_COUNT   10
#define XPATH_PREDICATE_RELATION   1
#define XPATH_PREDICATE_BOOLEAN   2

Functions

int zebra_parse_xpath_str (const char *xpath_string, struct xpath_location_step *xpath, int max, NMEM mem)
void dump_xp_steps (struct xpath_location_step *xpath, int no)

Macro Definition Documentation

◆ XPATH_PREDICATE_BOOLEAN

#define XPATH_PREDICATE_BOOLEAN   2

Definition at line 35 of file zebra_xpath.h.

Referenced by d1_check_xpath_predicate(), and get_xpath_boolean().

◆ XPATH_PREDICATE_RELATION

#define XPATH_PREDICATE_RELATION   1

◆ XPATH_STEP_COUNT

#define XPATH_STEP_COUNT   10

Definition at line 25 of file zebra_xpath.h.

Referenced by data1_read_absyn().

Function Documentation

◆ dump_xp_steps()

void dump_xp_steps ( struct xpath_location_step * xpath,
int no )

Definition at line 235 of file xpath.c.

References dump_xp_predicate().

Referenced by zebra_parse_xpath_str().

◆ zebra_parse_xpath_str()

int zebra_parse_xpath_str ( const char * xpath_string,
struct xpath_location_step * xpath,
int max,
NMEM mem )