|
From: Wolfgang M. <wol...@gm...> - 2007-01-15 21:01:29
|
The following message was rejected by mistake, sorry. WM ----------- How can I get the file/resource name the corresponds to a document node? I would like to be able to do something like: let $my-doc as document-node() := /[...] return resource-name($my-doc) Running this query on a given collection (say /db/my-col), if the document /db/my-col/gaga is returned by /[...], then the expression would return "gaga". Is there something that works along those lines in eXist? Alex -- View this message in context: http://www.nabble.com/XQuery-function-to-retrieve-file-resource-name-tf3016261.html#a8376422 Sent from the exist-open mailing list archive at Nabble.com. |