I think that under certain conditions, the path() function does not
return the proper paths.
Here’s an example that works ok:
for $doc in doca/bc//b/doc
let $nodes as element(*)* := xquery:eval($doc//*, map{doc:=$doc})
return
for $node in $nodes
return result path={path($node)}
Probably related:
db:node-id(xquery:eval(db:open('doc', 'doc.xml')/*))
⇒ 0
db:node-id(db:open('doc', 'doc.xml')/*)
⇒ 1
On 16.11.2013 23:57, Imsieke, Gerrit, le-tex wrote:
I think that under certain conditions, the path() function does not
return the proper paths.
Here’s an example that
Hi, all
I have a question consult with you, I want to plan using basex db to manage
our cityizen EHR data( more than 500, people),every people have more than
100 dataset xml file like:
--
BasicDataset
DataSet code=HDSD00.01.01 codeSystem=WS365-2011
Hi, all
I found the Gui can only work with local mode, but I want do some xquery
test / sandbox with basex server, only found can do in client mode, Is there
some other way ?esp for restful web mode.
thanks
--
此致
easy
莫愁前路无知己,天下谁人不识君。___
4 matches
Mail list logo