I was hoping to do the following in a query: cts:element-value-query(xs:QName('my-regular-elem'), $my-some-values)cts:element-value-query(xs:QName('my-overload-elem'), $my-values) ... cts:search(collection($MYCOLL), $my-cts-and-query)
The issue is that my-overload-elem has attribute values which determine what it is being used as:@my-attrib-type ="use-as-this"@my-attrib-type ="use-as-that"etc... I plan on checking after receiving a list of docs if it is a true match for $d in cts:search...boolean($d//my-overload-elem[@my-attrib-type="use-as-this"][. = $my-values]) This all works as expected, but wondering if better way where filtering is more automatic?I am looking at cts:query and cts:contains... Change database config would be 'difficult'Changing document is not permitted. Hope all is clear.
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general