Gnome XML Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# xpath

## Name

xpath —

## Synopsis

    #define     XPATH_UNDEFINED
    #define     XPATH_NODESET
    #define     XPATH_BOOLEAN
    #define     XPATH_NUMBER
    #define     XPATH_STRING
    #define     XPATH_USERS
    int         (*xmlXPathConvertFunc)          (xmlXPathObjectPtr obj,
                                                 int type);
    void        (*xmlXPathEvalFunc)             (xmlXPathParserContextPtr ctxt,
                                                 int nargs);
    xmlXPathObjectPtr (*xmlXPathAxisFunc)       (xmlXPathParserContextPtr ctxt,
                                                 xmlXPathObjectPtr cur);
    void        (*xmlXPathFunction)             (xmlXPathParserContextPtr ctxt,
                                                 int nargs);
    xmlXPathContextPtr xmlXPathNewContext       (xmlDocPtr doc);
    void        xmlXPathFreeContext             (xmlXPathContextPtr ctxt);
    xmlXPathObjectPtr xmlXPathEval              (const xmlChar *str,
                                                 xmlXPathContextPtr ctxt);
    void        xmlXPathFreeObject              (xmlXPathObjectPtr obj);
    xmlXPathObjectPtr xmlXPathEvalExpression    (const xmlChar *str,
                                                 xmlXPathContextPtr ctxt);

## Description

## Details

### XPATH_UNDEFINED

    #define     XPATH_UNDEFINED

### XPATH_NODESET

    #define     XPATH_NODESET

### XPATH_BOOLEAN

    #define     XPATH_BOOLEAN

### XPATH_NUMBER

    #define     XPATH_NUMBER

### XPATH_STRING

    #define     XPATH_STRING

### XPATH_USERS

    #define     XPATH_USERS

### xmlXPathConvertFunc ()

    int         (*xmlXPathConvertFunc)          (xmlXPathObjectPtr obj,
                                                 int type);

`obj` : |
`type` : |
Returns : |

### xmlXPathEvalFunc ()

    void        (*xmlXPathEvalFunc)             (xmlXPathParserContextPtr ctxt,
                                                 int nargs);

`ctxt` : |
`nargs` : |

### xmlXPathAxisFunc ()

    xmlXPathObjectPtr (*xmlXPathAxisFunc)       (xmlXPathParserContextPtr ctxt,
                                                 xmlXPathObjectPtr cur);

`ctxt` : |
`cur` : |
Returns : |

### xmlXPathFunction ()

    void        (*xmlXPathFunction)             (xmlXPathParserContextPtr ctxt,
                                                 int nargs);

`ctxt` : |
`nargs` : |

### xmlXPathNewContext ()

    xmlXPathContextPtr xmlXPathNewContext       (xmlDocPtr doc);

Create a new xmlXPathContext

`doc` : |
Returns : |

### xmlXPathFreeContext ()

    void        xmlXPathFreeContext             (xmlXPathContextPtr ctxt);

Free up an xmlXPathContext

`ctxt` : |

### xmlXPathEval ()

    xmlXPathObjectPtr xmlXPathEval              (const xmlChar *str,
                                                 xmlXPathContextPtr ctxt);

Evaluate the XPath Location Path in the given context.

`str` : |
`ctxt` : |
Returns : |

### xmlXPathFreeObject ()

    void        xmlXPathFreeObject              (xmlXPathObjectPtr obj);

Free up an xmlXPathObjectPtr object.

`obj` : |

### xmlXPathEvalExpression ()

    xmlXPathObjectPtr xmlXPathEvalExpression    (const xmlChar *str,
                                                 xmlXPathContextPtr ctxt);

Evaluate the XPath expression in the given context.

`str` : |
`ctxt` : |
Returns : |

<<< Previous Page | Home | Up | Next Page >>>
HTMLtree | nanohttp