What's the correct syntax???!and everytime:I tried, following the documentation “-b$v=example” :Hello,I'm also strugling to pass parameters:
in my XQuery :
declare variable $db-name external;
basexclient script.xq -b\$db-name=Value
basexclient script.xq -b"$db-name=FichiersBase"
basexclient script.xq -bdb-name=Value
basexclient script.xq -b"db-name=Value"
[XPDY0002] No value assigned to $db-name.2015-02-23 16:44 GMT+01:00 Marco Lettere <marco.lettere@dedalus.eu>:Hello all,
I'm unable to execute the example from documentation:
bin/basex -b$v=example "declare variable $v external; $v"
IT gives this exception:
Stopped at ., 1/19:
[XPST0003] Expecting '$', found 'e'.
Any clues?
Regards,
MArco.