Hello James,

Did you try the BINDINGS option ?

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

Regards,
Fabrice

De : [email protected] 
[mailto:[email protected]] De la part de James Hughes
Envoyé : mercredi 12 juin 2013 10:06
À : [email protected]
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
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to