Hello,
I guess db:path (see http://docs.basex.org/wiki/Database_Module#db:path) is what you are looking for.
Cheers, Dirk
On 01/13/2015 10:09 AM, nguyen my wrote:
I want to get the physical path of an item in database by xquery . but i don't known how. the path as: Users/Emotive/Documents/Open Test Framework/OtxProject16/ZZZ/OTX or target path as in BaseX Gui: "/NewDefaultPackage1/"
this is xquery code.
declare default element namespace 'http://iso.org/OTX/1.0.0'; declare namespace xsi = 'http://www.w3.org/2001/XMLSchema-instance'; let $node := collection()/otx[name="something"]
how to get the physical path of $node ? or other xquery. Please help me.