file:write - check, if path is existing
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
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 done in XQuery? Thanks for any help.
Cheers, Günter
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 <Marc.Liste@free.fr>:
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 done in XQuery? Thanks for any help.
Cheers, Günter
participants (3)
-
Günter Dunz-Wolff -
kleist-digital -
Marc