[MarkLogic Dev General] 3.2 documentation for cts:element-value-query

Ian Small ian at marklogic.com
Wed Sep 5 18:10:17 PDT 2007


Hmmm... Actually, that functionality shouldn't be documented, as it
isn't qualified or consequently supported.  It shouldn't have ended up
in the documentation - our apologies for this confusion.

We'll update the docs shortly to remove references to this unsupported
functionality.  In the meantime, use only at your own risk, as you would
use any other unsupported API.

Sorry for the confusion.
ian

-----Original Message-----
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Michael
Blakeley
Sent: Wednesday, September 05, 2007 7:44 AM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] 3.2 documentationfor
cts:element-value-query

Peter,

That seems to be a typo in the docs. The correct option seems to be
"descendant-or-self".

cts:element-value-query(xs:QName('p'), 'cat', 'descendant-or-self') =>
cts:element-value-query(xs:QName("p"), "cat",
("descendant-or-self","lang=en"), 1)

-- Mike

Peter Hickman wrote:
> According to the 3.2 docs cts:element-value-query takes a list of 
> option which should include "descendant-or-child". However when I try 
> and use it I am getting
> 
> XDMP-OPTION: cts:element-value-query(xs:QName("oaoomo:sf_author"),
"J.A. 
> Owens", ("case-insensitive", "diacritic-insensitive", 
> "punctuation-insensitive", ...)) -- Invalid option
"descendant-or-child"
> 
> Which is at fault here, the docs or MarkLogic?
> 



More information about the General mailing list