Yes, which is confirmed by 

file:exists(file:current-dir() || 'schemas/catalog.xml')

returns true.

Thanks,
Vincent


_____________________________________________
Vincent M. Lizzi
Head of Information Standards | Taylor & Francis Group 
vincent.li...@taylorandfrancis.com
 


Information Classification: General

-----Original Message-----
From: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> On Behalf Of 
Imsieke, Gerrit, le-tex
Sent: Thursday, July 9, 2020 10:13 AM
To: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] xslt:transform function not working with XML Catalog

Is the catalog schemas/catalog.xml residing in file:current-dir()?

On 09.07.2020 16:02, Lizzi, Vincent wrote:
> Hi Gerrit,
> 
> Thank you for the hint! Removing quotes from the pragma did not work 
> in this case.
> 
>    (# db:catfile schemas/catalog.xml #)
> 
> The catalog file is also configured at the beginning of the query:
> 
> declare option db:catfile 'schemas/catalog.xml';
> 
> This detail about not needing quotes in a pragma is worth remembering 
> though!.
> 
> Vincent
> 

Reply via email to