obsoleted xpath_each

This commit is contained in:
Olof Hagsand 2018-07-20 15:52:32 +00:00
parent e79e48b46f
commit b894c30bfb
4 changed files with 42 additions and 24 deletions

View file

@ -1162,6 +1162,17 @@ xpath_first(cxobj *xcur,
* @param[out] veclen returns length of vector in return value
* @retval 0 OK
* @retval -1 Error
* @code
* cxobj **vec;
* size_t veclen;
* if (xpath_vec(xcur, "//symbol/foo", &vec, &veclen) < 0)
* goto err;
* for (i=0; i<veclen; i++){
* xn = vec[i];
* ...
* }
* free(vec);
* @endcode
*/
int
xpath_vec(cxobj *xcur,