shithub: xml-9atom

ref: ce4a8027322c53b2832f221e2956c90dcd65fd1a
dir: /xpath.h/

View raw version
#pragma lib "libxpath.a"

enum {
	Xelem = 1,
	Xstring = 2,
	Xnum = 3,
};

typedef struct XpResult XpResult;
struct XpResult {
	int type;
	int error;
	int size;
	int num;
	union {
		char **strings;
		Elem **elems;
		int *numbers;
	};
};

XpResult 	xmllookpath(Elem *, char *);