29 Mar
2012
29 Mar
'12
6:53 p.m.
Howdy -- Using the REST interface, I'm currently able to do the following: <rest:query xmlns:rest="http://basex.org/rest"> <rest:text>$foo</rest:text> <rest:variable name="foo" value="bar"/> </rest:query> ...and get back "bar" as a result. Note the lack of a "declare variable $foo external" line. I haven't read the spec to determine permissibility of this behavior, but it does come in handy at times (particularly, for permitting maximally terse one-liners). Is this something likely to go away in the future? Thanks!