Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

XPath Interface Reference

XPath object. More...

#import <xpath.h>

Inheritance diagram for XPath:

XmlObject List of all members.

Public Member Functions

(id) init
 Initialize the XPath data for XML document.

(BOOL) compile:
 Compile XPath expression.

(BOOL) evaluate:
 Evaluate document by compiled expression.

(XmlNodeSet *) getResultNodeSet
 Get result of evaluation.


Protected Attributes

xmlXPathCompExprPtr xpath_exp
xmlXPathObjectPtr xpath_eval_result

Detailed Description

XPath object.

Description
XPath object.


Member Function Documentation

- (BOOL) XPath: (id) 
(const xmlChar *) 
(id)  exp
 

Compile XPath expression.

Return values:
true Compilation successed.
false Compilation failed.
Parameters:
exp XPath expression.
Description
Compile XPath expression.

- (BOOL) XPath: (id) 
(XmlDoc *) 
(id)  doc
 

Evaluate document by compiled expression.

Return values:
true Some nodes were matched.
false No nodes were matched.
Description
Evaluate document by compiled expression.
Warning:
You have to call compile() method before calling this method.

- (XmlNodeSet *) XPath:
 

Get result of evaluation.

Returns:
Matched node set.
Description
Get result of evaluation.

- (id) XPath:
 

Initialize the XPath data for XML document.

Description
Initialize the XPath data for XML document.

Implements XmlObject.


Member Data Documentation

xmlXPathObjectPtr XPath::xpath_eval_result [protected]
 

Result of evaluation

xmlXPathCompExprPtr XPath::xpath_exp [protected]
 

Xpath expression


The documentation for this interface was generated from the following file:
Generated on Mon Jul 19 20:04:09 2004 for LibXmlKit by doxygen 1.3.6