Re: [MarkLogic Dev General] cts query question

2015-06-26 Thread Indrajeet Verma
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 congchu...@gmail.com 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
 General@developer.marklogic.com
 Manage your subscription at:
 http://developer.marklogic.com/mailman/listinfo/general


___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] cts query question

2015-06-26 Thread Chunyu Cong
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general