] http://files.basex.org/releases/latest/
On Mon, Feb 3, 2014 at 8:17 AM, Tsvetanka Georgieva-Trifonova
wrote:
> Thank you for your answer!
> But this solution does not work with one-to-many relationships.
> When I run the following script:
> let $i :=
> aaa1
> aaa2
&g
Thank you for your answer!
But this solution does not work with one-to-many
relationships.
When I run the following script:
let $i :=
aaa1
aaa2
aaa3
aaa11
bb1
bb2
return
$i/*[matches(@idref, 'a1')]
BaseX produces the result:
bb1
bb2
that is different from: bb1
Besides, my quest
Hi BaseX,
My question is about function
idref().
How it should be
applied in case of one-to-many relationships?
For example:
aaa1
aaa2
aaa3
bb1
bb2
The expression:
idref("a3")/..
gives the following result:
bb2
But the expression:
idref("a1")/..
does not give any
result.
Thanks & r
Hi Basex,
My question is about the command XQUERY [query].
Does it work with any XQuery queries or only with XPath?
I tried the following:
execute("open myfirstdatabase");
echo $session->execute("xquery for $n in //country[name = 'Switzerland']
return $n") ;
// close session
$session->cl
4 matches
Mail list logo