Andrew hi! You're helping me out again :)
So what I have discovered so far is, that the best thing to do is to CONVERT the XML into a JSON and then use JSON as an input for the Google Charts. However, I am bounded to use the database only LOCALLY (we do not use Web Server to pull out the data!). I found a XML to JSON convertion script here:
http://davidwalsh.name/convert-xml-jsonI think it looks fine, but I have not yet tested it. Nevertheless, I want to get back to your example:
Yours idea, if it works, is even better for me, so that I dont need to conver the XML to JSON. Because we have database written in XML. I will try this out.
One question before: Can this be done locally? Becaues I only work on local data - there is no web server (though, I do not see any refferences that your coding might need to connect to server).
BR,
David
Dne petek, 16. maj 2014 07:59:06 UTC+2 je oseba David Kasabji napisala: