Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Cholfin, Bryan
ut on server STDOUT if you trace the variable?.. >>>>> >>>>> declare variable $ext_variable as xs:string external; >>>>> for $div in collection(Œwaldo¹)//div[@xml:id=trace($ext_variable)] >>>>> >>>>>

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Christian Grün
>>>> >>>> >>>>> >>>>> I get nothing. And yet I¹ve been able to return the variable itself >>>>>from the >>>>> module and check its type, and use it in a let assignment. So I can >>>>>see >>>&g

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Cholfin, Bryan
gt;>> module and check its type, and use it in a let assignment. So I can >>>>see >>>>that >>>> the module is receiving the value I send, it just isn¹t matching for >>>>some >>>> reason. >>>> >>>> Bryan Cholf

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Christian Grün
lfin, Bryan" , >>> "basex-talk@mailman.uni-konstanz.de" >>> >>> Subject: RE: [basex-talk] sending variables to xquery module via client >>>api >>> (python) >>> >>> Hi Bryan, >>> >>> >>> >&g

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Cholfin, Bryan
up.harvard.edu >> >> >> From: Etanchaud Fabrice >> Date: Tuesday, November 17, 2015 at 4:08 AM >> To: "Cholfin, Bryan" , >> "basex-talk@mailman.uni-konstanz.de" >> >> Subject: RE: [basex-talk] sending variables to xquery module v

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Cholfin, Bryan
t; mailto:bryan_chol...@harvard.edu>>, "basex-talk@mailman.uni-konstanz.de<mailto:basex-talk@mailman.uni-konstanz.de>" mailto:basex-talk@mailman.uni-konstanz.de>> Subject: RE: [basex-talk] sending variables to xquery module via client api (python) Hi Bryan, Could http

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Christian Grün
n, Bryan" , > "basex-talk@mailman.uni-konstanz.de" > Subject: RE: [basex-talk] sending variables to xquery module via client api > (python) > > Hi Bryan, > > > > Could http://docs.basex.org/wiki/Options#BINDINGSgive you a solution ? > > > > Bes

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Etanchaud Fabrice
@mailman.uni-konstanz.de Objet : [basex-talk] sending variables to xquery module via client api (python) Hi- Hoping someone can help me with this. I'm trying to write a python script that calls an xquery module in the database. It seems to be pretty easy to use a line such as: session.execute

[basex-talk] sending variables to xquery module via client api (python)

2015-11-16 Thread Cholfin, Bryan
Hi- Hoping someone can help me with this. I'm trying to write a python script that calls an xquery module in the database. It seems to be pretty easy to use a line such as: session.execute("run gettext.xqm") and get back the response I want. What I want to do is pass a bound variable to the m