Reference the currently open database?
HEHondros, Constantine (ELS-AMS)11 Feb 2016 17:33 # Hello all,
Maybe a dumb question, but I need to reference the currently open database.
Is there a more elegant way than this?
db:name((*)[1])
________________________________
Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.
CGChristian Grün11 Feb 2016 17:36 # Quoted text · Hondros, Constantine (ELS-AMS) · 1 line
> db:name((*)[1])
db:name(.[1])
There is probably no other way to do it, because multiple databases may be opened via XQuery at the same time.
Quoted text · Hondros, Constantine (ELS-AMS) · 9 lines
>
>
>
>
>
>
> ________________________________
>
> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
Netherlands, Registration No. 33156677, Registered in The Netherlands.
⚡Generated with XQuery