Hi Chunyu,

As Indy said, that option is available by default … If  you expect other than 
that  pls explain clearly to give correct solution .

By
Raja >>>

From: [email protected] 
[mailto:[email protected]] On Behalf Of Indrajeet Verma
Sent: Friday, June 26, 2015 3:27 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cts query question

Hi Chunyu,

Cts:element-query does,

Returns a cts:query matching elements by name with the content constrained by 
the given cts:query in the second parameter. Searches for matches in the 
specified element and all of its descendants. If the specified query in the 
second parameter has any cts:element-attribute-*-query constructors, it will 
search attributes directly on the specified element and attributes on any 
descendant elements (see thesecond 
example<https://docs.marklogic.com/cts:element-query?print=yes#eq2> below)

Yes other searches in the specified element.

Regards,
Indy

On Fri, Jun 26, 2015 at 2:42 PM, Chunyu Cong 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

I read through the following cts query functions and etc.

Can I say only cts:element-query looks up itself and descendent children by 
default?


All the other functions are only search itself element with its text() node by 
default.

cts:element-value-query
cts:element-word-query
cts:element-word-match
...

Thanks,
Chunyu

_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to