Hello James,

 

Did you try the BINDINGS option ?

 

http://docs.basex.org/wiki/Options#BINDINGS

 

Regards,

Fabrice

 

De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de James Hughes
Envoyé : mercredi 12 juin 2013 10:06
À : basex-talk@mailman.uni-konstanz.de
Objet : [basex-talk] Bind Externals via RUN Command

 

Hello,

 

I'm wondering if it is at all possible to an external variable to a query when it is being executed via the RUN command?  e.g.

 

    RUN /queries/country.xq

 

Which has (condensed for brevity)

 

    declare variable $country_code external;

    //iati-activity/recipient-country[@code='{ $country_code }']/

 

Is this possible when calling from a client?

 

James