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.
;-)
Logan
-----Original Message-----
From: gretl-devel-bounces(a)lists.wfu.edu [mailto:gretl-devel-bounces@lists.wfu.edu] 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?
Or
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
http://www.xmlsoft.org/tutorial/ar01s05.html
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.
Allin
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel