Hi,
My ultimate goal is to investigate, using a SWI-Prolog client and Basex, whether a combined use of Prolog and XQuery offers advantages. To write a Prolog client, I first had to learn C++ and the spin-off from that is that I am now almost done writing a C++ client. As with writing the R client at the time, I have questions when applying the 'Bind' command. The server protocol contains the following sentence: "the two items xs:integer(123) and xs:string('ABC') are encoded as 123, \02, xs:integer, \01, ABC, \02, xs:string and \00" Does this mean that multiple items of different types can be bound to one (1) {name} variable? If so, in what situation could this be applied? Where can I find an example FLWOR query that uses this?
Ben Engbers
basex-talk@mailman.uni-konstanz.de