Hello,

Please remove me from this mailing list.  I am just starting to learn 
Marklogic.  These emails go way above my head, and currently, they are flooding 
my inbox.  At this time, they don’t do much good.

Thanks.


kpmg


Sainath Thoppil
Senior Associate | Advisory | Credit Risk
303 Peachtree Street NE |  Suite 2000  |  Atlanta, GA  |  30308-3210
P 404.222.1819  | C 817.658.5385  |  E 
[email protected]<mailto:[email protected]>
W kpmg.com/us<http://www.kpmg.com/us>



From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Wednesday, September 10, 2014 5:28 AM
To: [email protected]
Subject: Re: [MarkLogic Dev General] Identify the uris which does not have 
particular element.

Hi Priya,
You can use this query,,

cts:uris("",(),cts:not-query(cts:element-query(xs:QName('id'),cts:and-query(()))))

Thanks,
Abhinav

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of priya dharshni
Sent: Wednesday, September 10, 2014 2:12 PM
To: general; 
[email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] Identify the uris which does not have 
particular element.


Hi ,


  I want to identify the uris which does not have the particular element.Say, i 
want to get uris which does not have "id' element.

 xml in db :
  <employee>
  <name>test</name>
  <id>123</id>
  </employee>

  cts:uris(''",
                          (),


                          
cts:not-query(cts:element-value-query(xs:QName("id"),"*"))
            )
The above query pulls all the uris with and without "id" element.Please let me 
know how to fix this.

Regards,
Priya.
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.

**********************************************************************
The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful. When addressed to our clients any opinions or 
advice contained in this email are subject to the terms and conditions 
expressed in the governing KPMG client engagement letter.
***********************************************************************
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to