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]> 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]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to