…[1] sorry I forgot http://docs.basex.org/wiki/JSON_Functions

:-)
Michael

Am 18.10.2011 um 16:59 schrieb Michael Seiferle:

I guess I'd go with 2 or 3 - where 3 maybe has the caveat that you have to have another server running. 
I made some good experiences using jQuery with jsonp, it's especially useful if you directly return json encoded results, our wiki [1] h