<libroxml
version="3.0.2"
/>
|
xpath execution module More...
#include "roxml_internal.h"
Go to the source code of this file.
Functions | |
ROXML_INT void | roxml_free_xpath (xpath_node_t *xpath, int nb) |
xpath free function More... | |
ROXML_INT node_t ** | roxml_exec_xpath (node_t *root, node_t *n, xpath_node_t *xpath, int index, int *count) |
real xpath execution More... | |
ROXML_INT int | _func_xpath_ignore (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_new_node (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_quote (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_dquote (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_open_parenthesys (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_close_parenthesys (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_open_brackets (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_close_brackets (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_condition_or (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_condition_and (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_path_or (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operators (roxml_parser_item_t *parser, char *chunk, void *data, int operator, int operator_bis) |
ROXML_INT int | _func_xpath_operator_equal (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operator_sup (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operator_inf (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operator_diff (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_number (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_funcs (roxml_parser_item_t *parser, char *chunk, void *data, int func, char *name) |
ROXML_INT int | _func_xpath_position (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_first (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_last (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_nsuri (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_lname (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operator_add (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_operator_subs (roxml_parser_item_t *parser, char *chunk, void *data) |
ROXML_INT int | _func_xpath_default (roxml_parser_item_t *parser, char *chunk, void *data) |
xpath execution module
(C) Copyright 2014 Tristan Lelong trist an.l elong @lib roxml .net
SPDX-Licence-Identifier: LGPL-2.1+ The author added a static linking exception, see License.txt.
Definition in file roxml_xpath.h.
ROXML_INT node_t** roxml_exec_xpath | ( | node_t * | root, |
node_t * | n, | ||
xpath_node_t * | xpath, | ||
int | index, | ||
int * | count | ||
) |
real xpath execution
this function exec a decoded xpath strcuture
root | the root of the tree |
n | the context node |
xpath | the xpath structure |
index | the number of xpath condition in string |
count | the pointer to a variable that is filled with the resulting node number |
Definition at line 898 of file roxml_xpath.c.
ROXML_INT void roxml_free_xpath | ( | xpath_node_t * | xpath, |
int | nb | ||
) |
xpath free function
this function frees the parsed xpath structure
xpath | the xpath to free |
nb | the number of xpath structures in the table |
Definition at line 64 of file roxml_xpath.c.