Best, of course, is always to avoid invalid entries in the index. Since you are already in this situation, as a work-around, you can try adding in also a query that excludes fragments with an empty value for the dataTime.
For example, something like cts:not-query(cts:element-value-query(xs:QName(...), "")) as a sub-query to eliminate the fragments with no value. However, it will produce undesirable results if there are multiple occurrences of the same element in a fragment. _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
