Fine. If you want to access documents from the database, db:open is always the better choice.
On Tue, Aug 18, 2020 at 10:56 AM Srikumar Choudhury <schou...@opentext.com> wrote: > > Yes I have tried it and it is returning result properly. > > > ________________________________ > From: Christian Grün <christian.gr...@gmail.com> > Sent: Tuesday, August 18, 2020 1:50 PM > To: Srikumar Choudhury <schou...@opentext.com> > Cc: basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de>; > Nikhil Sethi <nse...@opentext.com> > Subject: [EXTERNAL] - Re: Error: Stopped at ., 1/20: [FODC0002] Resource > 'C:/Srikumar/Software/BaseX/BaseX941/basex/bin/6301904f80000114/0601904f80007547.xml' > does not exist. > > > > XQUERY for $article in doc('6301904f80000114/0601904f80007547.xml') > > > return $article > > Did you try db:open ?