<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 | |
ROXML_INT node_t ** | roxml_exec_xpath (node_t *root, node_t *n, xpath_node_t *xpath, int index, int *count) |
real xpath execution | |
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.nosp@m.an.l.nosp@m.elong.nosp@m.@lib.nosp@m.roxml.nosp@m..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 int _func_xpath_close_brackets | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1217 of file roxml_xpath.c.
ROXML_INT int _func_xpath_close_parenthesys | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1181 of file roxml_xpath.c.
ROXML_INT int _func_xpath_condition_and | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1292 of file roxml_xpath.c.
ROXML_INT int _func_xpath_condition_or | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1243 of file roxml_xpath.c.
ROXML_INT int _func_xpath_default | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1584 of file roxml_xpath.c.
ROXML_INT int _func_xpath_dquote | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1152 of file roxml_xpath.c.
ROXML_INT int _func_xpath_first | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1510 of file roxml_xpath.c.
ROXML_INT int _func_xpath_funcs | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data, | ||
int | func, | ||
char * | name | ||
) |
Definition at line 1483 of file roxml_xpath.c.
ROXML_INT int _func_xpath_ignore | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1094 of file roxml_xpath.c.
ROXML_INT int _func_xpath_last | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1518 of file roxml_xpath.c.
ROXML_INT int _func_xpath_lname | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1534 of file roxml_xpath.c.
ROXML_INT int _func_xpath_new_node | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1102 of file roxml_xpath.c.
ROXML_INT int _func_xpath_nsuri | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1526 of file roxml_xpath.c.
ROXML_INT int _func_xpath_number | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1462 of file roxml_xpath.c.
ROXML_INT int _func_xpath_open_brackets | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1193 of file roxml_xpath.c.
ROXML_INT int _func_xpath_open_parenthesys | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1169 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_add | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1542 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_diff | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1454 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_equal | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1430 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_inf | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1446 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_subs | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1563 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operator_sup | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1438 of file roxml_xpath.c.
ROXML_INT int _func_xpath_operators | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data, | ||
int | operator, | ||
int | operator_bis | ||
) |
Definition at line 1365 of file roxml_xpath.c.
ROXML_INT int _func_xpath_path_or | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1340 of file roxml_xpath.c.
ROXML_INT int _func_xpath_position | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1502 of file roxml_xpath.c.
ROXML_INT int _func_xpath_quote | ( | roxml_parser_item_t * | parser, |
char * | chunk, | ||
void * | data | ||
) |
Definition at line 1135 of file roxml_xpath.c.
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.