Hi Geert, Attributes are indexed, but they have no children, so it would not make sense to have an analogous constructor to element-query for attributes. The difference with attributes is that you have to ask for them in order to search for content in them.
-Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert J. Sent: Thursday, January 30, 2014 1:36 PM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] No cts:element-attribute-query? Hi, http://stackoverflow.com/questions/21434099/checking-presence-of-attribute -with-ctsquery Was looking at this stackoverflow question, and couldn't help wondering why isn't there a cts:element-attribute-query function. Because attributes are not indexed by default? Cheers _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
