25 Aug
2010
25 Aug
'10
2:36 p.m.
Hi, is it possible to create bindings for external variables when using BaseX's server mode? For instance, we have a query that declares: declare variable $id as xs:string external; When using XQJ, 'id' would be bound as bindNode(). In our server-based implementation, we manually substitute all occurrences of $id with its value before running the query. Obviously, this is not robust: for instance, occurrences of $id in string literals would be substituted as well, even when they should not (e.g., "$id") Is there a way to leave $id declared as external, but assign a value for it when using BaseX's server mode? - Godmar