On 8 December 2014 at 19:01, Frank Mortier wrote:
> $doc/b/c[@xml:lang eq"nl"]
By the way, do not use string comparison directly against @xml:lang,
use fn:lang() instead: $doc/b/c[lang('nl')].
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
___
--Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: 08 December 2014 19:48
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsist
-
> From: general-boun...@developer.marklogic.com [mailto:
> general-boun...@developer.marklogic.com] On Behalf Of Frank Mortier
> Sent: Monday, December 08, 2014 10:38 AM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] Marklogic node replace of same
c Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsistent output
Thanks
Danny, I need to get from the string ('auto, kind') to ('auto', 'kind').
Chris, it should return 'car' and 'child
l Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: 08 December 2014 19:15
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsistent output
H
:02 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsistent output
Given the following doc:
let $doc :=
car
auto
4 18:01
To: MarkLogic Developer Discussion
mailto:general@developer.marklogic.com>>
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsistent output
Given the following doc:
let $doc :=
car
amlin
Sent: Monday, December 08, 2014 10:14 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic node replace of same node
results in inconsistent output
Hi Frank,
Not exactly sure if it's what you want, but maybe helps you get closer:
for $x in $d
Hi Frank,
Not exactly sure if it's what you want, but maybe helps you get closer:
for $x in $doc/b/c[@xml:lang eq"nl"]
where $x/fn:string() = fn:tokenize('auto, kind', ',')
return
$x/../@id/fn:string()
returns 'car'.
I changed it so it compares the string value of $x with a
Given the following doc:
let $doc :=
car
auto
voiture
house
huis
maison
Hi Ron,
1) An update request does not see its own updates. Fetching the value of
something from the database after an update to that thing will return the
value from the database as-of the time the request started running.
- I totally agree Ron, I'm checking the value by exploring the
da
Two things of note:
1) An update request does not see its own updates. Fetching the value of
something from the database after an update to that thing will return the value
from the database as-of the time the request started running.
2) It is possible for deadlocks to occur, especially in
I've used two different browsers for each qconsole, yet the same results.
On Mon, Dec 8, 2014 at 8:49 PM, Raghu
wrote:
> Thanks David Ennis,
>
> PFB the response below
>
> 1. The second xquery doesn't have a sleep, that was a copy paste error on
> my part.
> 2. I'm verifying the document content
Thanks David Ennis,
PFB the response below
1. The second xquery doesn't have a sleep, that was a copy paste error on
my part.
2. I'm verifying the document content by using the qconsole explore button
and clicking on the link.
3. The sleep would not lock, but the node replace statement in the xqu
HI.
I don't have a full answer, but a few pointers:
- Your xquery2 is the same as xquery1 (includes sleep). This is probably
not what you meant to include as it does not match your description where
you say that there si no sleep on xquery2
- In the same statement you update the node and also r
Hi all,
I have two xqueries
xquery# 1. Sleeps for 10 secs (xdmp:sleep) and updates an existing
node with a new value and logs the value "Executing #1".
xquery# 2. Updates the same node which is being updated in xquery #1
but no sleep and logs the value "Executing #2".
I am ex
16 matches
Mail list logo