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.
db:name((*)[1])
This should be faster:
db:name(.[1])
There is probably no other way to do it, because multiple databases may be opened via XQuery at the same time.
Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
Netherlands, Registration No. 33156677, Registered in The Netherlands.
basex-talk@mailman.uni-konstanz.de