Re: [basex-talk] file:write - check, if path is existing

2016-05-20 Thread kleist-digital
Hi Marc, thanks for the hint. In my case file:is-dir did it. Thanks again. Günter > Am 20.05.2016 um 08:24 schrieb Marc : > > Hi Günter, > in the file: you have the is-file function. > Does'nt it do the job? > Marc > Le 19/05/2016 à 21:25, Günter Dunz-Wolff a écrit : >> Hi

Re: [basex-talk] file:write - check, if path is existing

2016-05-20 Thread Marc
Hi Günter, in the file: you have the is-file function. Does'nt it do the job? Marc Le 19/05/2016 à 21:25, Günter Dunz-Wolff a écrit : Hi all, for the command file:write($path, distinct-values($list)) I have to check, if $path is existing (for example let $path := ´users/xxx/xxx/etc’. How is it

[basex-talk] file:write - check, if path is existing

2016-05-19 Thread Günter Dunz-Wolff
Hi all, for the command file:write($path, distinct-values($list)) I have to check, if $path is existing (for example let $path := ´users/xxx/xxx/etc’. How is it done in XQuery? Thanks for any help. Cheers, Günter