Thanks I will have a look at the references you have listed. The main benefit, for myself,
of this exercise is that it is a C project. Good first foray into gretl's land of C.
From: gretl-devel-bounces(a)lists.wfu.edu [mailto:firstname.lastname@example.org] On
Behalf Of Allin Cottrell
Sent: Saturday, January 23, 2016 12:07 PM
To: Gretl development <gretl-devel(a)lists.wfu.edu>
Subject: Re: [Gretl-devel] Is there an xpath counterpart to jsonget?
On Sat, 23 Jan 2016, Logan Kelly wrote:
Thanks Allin. How difficult would it be to develop such a function?
put another way, would this be a good first project for someone, e.g.
me, to try developing?
Well, yes, that might be a nice exercise. Gretl already links to libxml2, so it would be a
matter of figuring out the xpath API in that library and "wrapping" it with a
gretl function in a similar manner to our wrapping of the json-glib API. Not a trivial
job, but doable.
There's relevant material at
and in gretl's plugin/json_get.c.
Just to be clear, though, this would be a C project, though I guess you could
"prototype" it using the python bindings for libxml2.
Gretl-devel mailing list