Awesome! Thanks Sai.
From: [email protected] [mailto:[email protected]] On Behalf Of sai shanker Sent: Wednesday, July 27, 2011 11:51 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] check element existance 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://us.mc1217.mail.yahoo.com/mc/[email protected] om> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
