Hello Gary,
try this -
cts:element-query(xs:QName('myElement'),cts:and-query(()))
 
Sai.


--- On Wed, 7/27/11, Gary Larsen <[email protected]> wrote:


From: Gary Larsen <[email protected]>
Subject: [MarkLogic Dev General] check element existance
To: "'General MarkLogic Developer Discussion'" <[email protected]>
Date: Wednesday, July 27, 2011, 11:53 AM






Hi,
 
Is there a cts:query that I can use to determine if an element exists in a 
document (regardless of value)?  
 
This does not work:  cts:element-query(xs:QName('myElement'),())
 
Thanks for your expertise,
gary
-----Inline Attachment Follows-----


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to