What about something like:
fn:count(cts:element-query(xs:QName("table"),cts:and-query(())))-------- Clark D. Richey, Jr. Technical Director MarkLogic Corporation [email protected] @crichey Cell: +1 240 252 7507 www.marklogic.com This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. On May 30, 2013, at 10:33 AM, Gary Larsen <[email protected]> wrote: > This is probably easy but haven’t figured it out yet. > > I’m looking for a query (preferably cts) to return how many times an element, > <table> for example, exists in the database. The elements would be located > in fragments. > > Thanks, > Gary > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
