00001
00014 #if !defined(XPATH_H_INCLUDED)
00015 #define XPATH_H_INCLUDED
00016
00017 #include <LibXmlKit/xmlobject.h>
00018 #include <LibXmlKit/xmlnodeset.h>
00019
00020 @class XmlDoc ;
00021
00027 @interface XPath : XmlObject
00028 {
00030 xmlXPathCompExprPtr xpath_exp ;
00031
00033 xmlXPathObjectPtr xpath_eval_result ;
00034 }
00035
00041 - init ;
00042
00051 - (BOOL) compile: (const xmlChar *) exp ;
00052
00062 - (BOOL) evaluate: (XmlDoc *) doc ;
00063
00070 - (XmlNodeSet *) getResultNodeSet ;
00071
00072 @end
00073
00074 #endif
00075