Re: [basex-talk] write result to file?

2020-12-15 Thread Liam R. E. Quin
On Tue, 2020-12-15 at 09:19 -0800, Nicholas wrote: > pardon, forgot to include: > > https://tech.forums.softwareag.com/t/writing-to-file-using-xquery/67224 > > > where michael kay says that's just not going to work. That's not exactly what he says - Mike words himself very carefully most of

Re: [basex-talk] write result to file?

2020-12-15 Thread Nicholas
pardon, forgot to include: https://tech.forums.softwareag.com/t/writing-to-file-using-xquery/67224 where michael kay says that's just not going to work. similarly, I'd want to feed the result into an xslt. On 12/15/20 9:15 AM, Nicholas wrote: how is the return result from a query

Re: [basex-talk] write result to file?

2020-12-15 Thread Nicholas
ah, I see, it's using expath? |file:write|($file as|xs:string|, $items as|item()*|) as|empty-sequence()| |file:write|($file as|xs:string|, $items as|item()*|, $params as|element(output:serialization-parameters)|) as|empty-sequence() something like that? | On

Re: [basex-talk] write result to file?

2020-12-15 Thread Christian Grün
There are numerous ways to do so. Did you already check our documentation ( docs.basex.org)? Nicholas schrieb am Di., 15. Dez. 2020, 18:15: > how is the return result from a query written to a file? > > > thanks, > > > Nick > >

[basex-talk] write result to file?

2020-12-15 Thread Nicholas
how is the return result from a query written to a file? thanks, Nick

Re: [basex-talk] FOP module

2020-12-15 Thread Christian Grün
Hi Jérôme, hi Andy, We have aligned all modules with the latest version of BaseX (including the FOP, FTP and Map module). Hope this helps, Christian On Tue, Dec 8, 2020 at 3:09 PM Jerome Chauveau wrote: > > Hi, > > I am trying to use the (too old ?) FOP module, but unsuccessfully. > I copied

Re: [basex-talk] set parser csv header

2020-12-15 Thread Christian Grün
Hi Nicholas, Just assign your configuration to the CSVPARSER option [1]. Hope this helps, Christian [1] https://docs.basex.org/wiki/Options#CSVPARSER On Sun, Dec 13, 2020 at 2:39 PM Nicholas wrote: > > How do I set the CSV parser to use "header" true? > > > so that when the record is

Re: [basex-talk] java bindings - Data types

2020-12-15 Thread Christian Grün
Hi André, Some Java types are automatically converted to XQuery types [1]. It’s currently not possible to suppress the conversion. If your code contains more than one, two Java calls, it’s usually cleaner to write some Java and XQuery wrapper code. For better packaging, the files can be embedded