Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Florent Georges
loper.marklogic.com [mailto:general- >> boun...@developer.marklogic.com] Namens Florent Georges >> Verzonden: dinsdag 16 oktober 2012 21:04 >> Aan: MarkLogic General ML >> Onderwerp: [MarkLogic Dev General] Eval and invoke: set the context > item? >> >>   Hi, >>

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Michael Blakeley
On 17 Oct 2012, at 06:24 , Mike Sokolov wrote: > On 10/16/2012 03:07 PM, David Lee wrote: >> In MarkLogic the context item is the entire database, it isnt settable. >> >> >> -- > Just to expand a little on that, that's true for outermost expressions, > but there is a co

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Geert Josten
ogic General ML > Onderwerp: [MarkLogic Dev General] Eval and invoke: set the context item? > >   Hi, > >   I did not find any way to set the context item of the target > query when using xdmp:eval() and xdmp:invoke().  Did I miss > anything? > >   Regards, > > --

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Pascal Cadet
--- > > > David Lee > Lead Engineer > MarkLogic Corporation > d...@marklogic.com > Phone: +1 812-482-5224**** > > Cell: +1 812-630-7622 > www.marklogic.com > > > > ** ** > > *From:

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread David Lee
developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Pascal Cadet Sent: Wednesday, October 17, 2012 9:36 AM To: Mike Sokolov Cc: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Eval and invoke: set the context item? Hi, Try this ways : - xdmp

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Pascal Cadet
t; To: MarkLogic Developer Discussion > Cc: David Lee; Florent Georges > Subject: Re: [MarkLogic Dev General] Eval and invoke: set the context item? > > On 10/16/2012 03:07 PM, David Lee wrote: > > In MarkLogic the context item is the entire database, it isnt settable. > > > &

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread David Lee
[mailto:soko...@ifactory.com] Sent: Wednesday, October 17, 2012 9:24 AM To: MarkLogic Developer Discussion Cc: David Lee; Florent Georges Subject: Re: [MarkLogic Dev General] Eval and invoke: set the context item? On 10/16/2012 03:07 PM, David Lee wrote: > In MarkLogic the context item is the ent

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Geert Josten
tober 2012 15:24 > Aan: MarkLogic Developer Discussion > CC: David Lee > Onderwerp: Re: [MarkLogic Dev General] Eval and invoke: set the context item? > > On 10/16/2012 03:07 PM, David Lee wrote: > > In MarkLogic the context item is the entire database, it isnt settable. > > >

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-17 Thread Mike Sokolov
On 10/16/2012 03:07 PM, David Lee wrote: > In MarkLogic the context item is the entire database, it isnt settable. > > > -- Just to expand a little on that, that's true for outermost expressions, but there is a context item for every expression, and since xdmp:eval() may o

Re: [MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-16 Thread David Lee
Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges Sent: Tuesday, October 16, 2012 3:04 PM To: MarkLogic General ML Subject: [MarkLogic Dev General] Eval and invoke: set the context item?   Hi,   I did not find

[MarkLogic Dev General] Eval and invoke: set the context item?

2012-10-16 Thread Florent Georges
  Hi,   I did not find any way to set the context item of the target query when using xdmp:eval() and xdmp:invoke().  Did I miss anything?   Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ ___ General mailing list General@dev